Notifications
Clear all

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

8 Posts
2 Users
0 Likes
952 Views
Imo
Posts: 8
 Imo
Topic starter
(@imo)
Active Member
Joined: 1 year 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: 9912
Admin
(@robert)
Support Team
Joined: 7 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/

Reply
Imo
Posts: 8
 Imo
Topic starter
(@imo)
Active Member
Joined: 1 year 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

 

 

Reply
5 Replies
Imo
 Imo
(@imo)
Joined: 1 year ago

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

Support Team
Posts: 9912

@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.

Reply
Imo
 Imo
(@imo)
Joined: 1 year 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.

Reply
Robert
Admin
(@robert)
Joined: 7 years ago

Support Team
Posts: 9912

@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.

Reply
Imo
 Imo
(@imo)
Joined: 1 year ago

Active Member
Posts: 8

@robert Okay i give up.

Reply