- This topic has 8 replies, 3 voices, and was last updated 4 years, 6 months ago by Tom.
-
AuthorPosts
-
September 27, 2019 at 12:00 pm #1020742oge
In GP Premium is it possible to have just 3 sidebars with no content?
I am looking for a way to display RSS feeds in various WordPress categories in 3 columns.
Thanks
September 27, 2019 at 12:03 pm #1020748LeoStaffCustomer SupportHi there,
Should be possible with some CSS.
Can you link me to the page?
What widget area will you be using?
September 27, 2019 at 12:09 pm #1020752ogeHi Leo
I have edited the post to include my URL.
I want to get my website to display like http://wpnewsdesk.com/
I do not want RSS feeds to be pulled in as WordPress posts.
How can I achieve this?
September 27, 2019 at 1:01 pm #1020809ogeBelow is the response I got from WP RSS Aggregator:
If your requirement is to show WordPress category pages with aggregated feed content, that should be fine. These are the steps you will need to follow:
Create WordPress category page templates, as explained here: https://codex.wordpress.org/Category_Templates
Create the shortcode to display the aggregated feeds across feed categories and the chosen WP RSS Aggregator Template from RSS Aggregator > Templates (not to be confused with WordPress theme templates)For example, if you want to display all feeds belonging to the feed category ‘UK News’ and template named ‘Grid’, the shortcode below should help
[wp-rss-aggregator category=’uk-news’ template=’grid’]
Within the theme’s code, you will need to call the do_shortcode function to display these feedsecho do_shortcode( ‘[wp-rss-aggregator category=’uk-news’ template=’grid’]’ );
This will require knowledge of WordPress coding, in particular, theme development. If you are familiar with PHP or WordPress coding, you can refer to the theme handbook.
If you want to aggregate feeds from three categories, you needn’t call do_shortcode thrice. You can add the category names separated by comma’s like this:
[wp-rss-aggregator category=’entertainment, uk-news, sports’]
If you wish to display the category-wise feeds separately in their own grids, you will need to call the do_shortcode function thrice.
September 27, 2019 at 7:38 pm #1021001TomLead DeveloperLead DeveloperHi there,
Where do you want these items to show up? On your category pages? Or would it be ok to show them on a static page?
September 28, 2019 at 3:36 am #1021131ogeI would like them looking just like wpnewsdesk.com.
I want them to display on the homepage and in individual category pages.
September 28, 2019 at 9:47 am #1021368TomLead DeveloperLead DeveloperI think you might need some custom development, unfortunately.
You’d need to create the category template files in your child theme: https://developer.wordpress.org/themes/basics/template-hierarchy/#category
Then you’d need to add the shortcodes as they showed you.
The tricky part would be to make sure the items being shown are specific to the category currently being viewed.
Unfortunately, this kind of work is out of the scope of this forum.
Let me know if you have any other questions 🙂
October 1, 2019 at 2:35 am #1023127ogeWhat CSS do I use to produce 3 sidebars on the homepage with no content area?
October 1, 2019 at 10:26 am #1023579TomLead DeveloperLead DeveloperYou could use flexbox to put your posts into columns: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
So first you need to output the posts, then you can use flexbox to put them into columns.
-
AuthorPosts
- You must be logged in to reply to this topic.