[Resolved] Just 3 sidebars?

Home Forums Support [Resolved] Just 3 sidebars?

Home Forums Support Just 3 sidebars?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1020742
    oge

    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

    #1020748
    Leo
    Staff
    Customer Support

    Hi there,

    Should be possible with some CSS.

    Can you link me to the page?

    What widget area will you be using?

    #1020752
    oge

    Hi 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?

    #1020809
    oge

    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.

    #1021001
    Tom
    Lead Developer
    Lead Developer

    Hi 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?

    #1021131
    oge

    I would like them looking just like wpnewsdesk.com.

    I want them to display on the homepage and in individual category pages.

    #1021368
    Tom
    Lead Developer
    Lead 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 🙂

    #1023127
    oge

    What CSS do I use to produce 3 sidebars on the homepage with no content area?

    #1023579
    Tom
    Lead Developer
    Lead 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.