Notifications
Clear all

wpForo 1.x.x [Closed] How Can I Fetch Forum Contents Based On Category From My Main WordPress Homepage

8 Posts
2 Users
0 Reactions
1,738 Views
Posts: 8
 Imo
Topic starter
(@imo)
Active Member
Joined: 4 years ago

Please i will really appreciate this help.

I want to fetch contents from my forum page(mysite.com/forum) to my main homepage(mysite.com) based on categories as obtain Wordpress blog hompage.

Thanks.

7 Replies
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @imo,

You can use category shortcodes in the content of your website home page: https://wpforo.com/docs/root/getting-started/forum-page/wpforo-shortcodes/

Posts: 8
 Imo
Topic starter
(@imo)
Active Member
Joined: 4 years ago

@robert Maybe the documentation isn't clear or i cannot do it the right way.

if i use say:

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

It will display on the main homepage: The forum page menu items, Add Topic box and all the topic of the forum with id=2.

I only want to display posts from the forum category.

See screenshot

 

 

5 Replies
 Imo
(@imo)
Joined: 4 years ago

Active Member
Posts: 8
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@imo,

Please show me with some screenshot where you insert the shortcdode.

Also, do you have any cache/optimizer/minifier plugin? Can you do a deep purge of all kind of caches?

And, leave a URL to this page.

 Imo
(@imo)
Joined: 4 years ago

Active Member
Posts: 8

@robert this is how i posted it in my front page widget area just the same way i do to fetch post from other category to my homepage.

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@imo,

hmm, you're trying to show the category page in a widget? Please stop this, this will not work. The shortode requires a page. This should be used in a page content, this will not work in a widget. wpForo shortcodes generates pages not just a simple content, so they require to be inserted in a page.

 Imo
(@imo)
Joined: 4 years ago

Active Member
Posts: 8

@robert Okay i give up.