Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Is there a method t...
 
Notifications
Clear all

Is there a method to display X number of recent topics in a specific Forum?

3 Posts
2 Users
0 Reactions
5,286 Views
Curtis
(@cbisel16)
Member Customer
Joined: 10 years ago
Posts: 60
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#2730]

Question:

Is there a way via a shortcode or widget etc. to display "x" amount of the latest wpForo forum topics from a specific forum only in a place on my website of my choosing?

 

PROBLEM:

I am using wpForo inside of the Membership area of my website, and I would love to use a separate wpForo forum to be where I post all of my latest news topics about the membership area for my members  — kind of a "latest updates" news area. 

What I would love to be able to do is when people login to the membership, and it takes them to the dashboard page (first page they see when they login), at the top of the page I'd like to have a block of information that lists, say the last 5-10 forum post topics, from JUST this single "latest updates" news forum, that members could click on and it would take them to the actual forum page.

 

ALMOST A SOLUTION:

Your "wpForo Recent Topics" widget almost does this for me perfectly — using a Wordpress page builder I can place this widget at the top center of my dashboard page. But, there currently isn't an option to select which forum I want it to pull from exclusively. Instead, it lists the latest topics from ALL forums.

 

Thanks!

 



   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4238
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I'd suggest using wpForo forum shortcodes. More info here:

https://wpforo.com/docs/root/getting-started/forum-page/wpforo-shortcodes/



   
ReplyQuote
Curtis
(@cbisel16)
Member Customer
Joined: 10 years ago
Posts: 60
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks @tomson.

I tried using this shortcode before, which does output my topics from a given forum:

[wpforo item="forum" id="4"]

 

But 2 issues came up for me:

1) the shortcode displays way more than just the topics. It displays everything else on the forum page including the sidebar and anything else that's usually there like navigation.

2) I don't see any additional shortcode information on the info page you linked to that would filter down the results. The shortcode when I test it is displaying about 20 of the latest topics — way too many for my "dashboard" where I just want to show the latest few to keep it simple, short and not requiring a lot of scrolling down the page.

 

Messing around with CSS, I believe I can probably solve #1 above by using "display" and "none" on all of the extra DIV's I don't need to display. But for #2, are there are there any additional shortcode filters I can add to get it to only display like 5 or so topics?



   
ReplyQuote
Share:
Scroll to top