Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Template Tags and Widgets
Avatar
Anosua Mukhopadhyay
Member
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 5:27 pm

I just downloaded this plugin, installed it, and now can't find any documentation on how to use it. Where the list of template tags are and how to make these widgets show up.

Can someone guide me in the right direction? Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 6:16 pm
Avatar
Anosua Mukhopadhyay
Member
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 6:39 pm

Fantastic, thank you! Is there any code I can add that would display a truncated bit of each post listed?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 8:19 pm

these tags are part of that plugin:

http://codex.simple-press.com/.....ent-posts/

http://codex.simple-press.com/.....est-posts/

http://codex.simple-press.com/.....st-topics/

http://codex.simple-press.com/.....ays-posts/

and a widget too:

http://codex.simple-press.com/.....ts-widget/

Avatar
Anosua Mukhopadhyay
Member
Free Members
sp_UserOfflineSmall Offline
Jul 27, 2013 - 8:33 pm

I now see that and am going with "sp_RecentPostsTag". It displays the forum post, title, author, but I'm wondering if I can somehow also access the content within each post that's listed? It doesn't seem to be a parameter, but do you know the start of some code I could add in that would do that?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 12:41 am

the code excerpt is in the tooltip... what you see when you hover over the link to the topic/post..

I dont think any of them actually force display the topic/post content - no one has asked for that frankly...

but its possible, using the hooks and api, to grab the post content too... would take a bit of coding and familiarity with wp hooks...  are you able to do so?  we can help guide you... 

Avatar
Anosua Mukhopadhyay
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 12:49 pm

I think I could do it with a bit of guidance. :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2013 - 1:15 pm

actually, I think I am wrong...  not going to be easy to do with hooks... looks like we dont have a hook in place for each entry in the list, just on the whole list...  could be done, but would be quite messy and complex... I will open a ticket for future consideration about each item, but wont help now...

My suggestion would be to make a copy of the plugin and make it your own...  then we can edit it to output a snippet...  so get it set up for that and we can help... 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625