- This topic has 8 replies, 3 voices, and was last updated 3 years, 4 months ago by Tom.
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.
ThanksSeptember 27, 2019 at 12:03 pm #1020748LeoStaffCustomer SupportSeptember 27, 2019 at 12:09 pm #1020752oge
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 #1020809oge
Below 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 feeds
echo 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 DeveloperSeptember 28, 2019 at 3:36 am #1021131oge
I 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 Developer
I 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 #1023127oge
What CSS do I use to produce 3 sidebars on the homepage with no content area?October 1, 2019 at 10:26 am #1023579TomLead DeveloperLead Developer
You 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.
- You must be logged in to reply to this topic.