Your Time:
Our Time:
← Back to discussions

Sort by category feature in the theme is not functional

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 10 replies, 2 voices, and was last updated 10 years, 5 months ago by Anonymous.

Tagged: ,

  • 2016-03-17 at 11:00 pm
    Support Expired
    #13408
    kcassoccicates
    Participant
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    • Post count: 8

    We have both a blog and a news/press page on the website – both need to be set up in a blog format with the ability to select which category (blog OR news) to determine what pages it goes to.

    Currently, the Blog page is showing ALL posts, regardless of category indicated. The Press/News is only showing the News category (which is what we want).

    How do we get the functionality working so that the blog can show JUST the blog and the news should JUST the news. Here are the URLs: http://agileframeworks.biz/news/ and http://agileframeworks.biz/blog/

    2016-03-18 at 12:11 pm
    #13414
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Create a page and assign a blog template to that page. Next select the category whatever you wish from Theme Options -> Post Options -> Blog Page Categories (Selected categories will hold the posts to display in blog page template). But if you have chosen Posts Page as Blog from WordPress Settings -> Reading -> Posts Page -> Blog, then it will show all the posts in Blog Page. So you shouldn’t select that from settings -> Readings Section.

    2016-03-25 at 1:08 pm
    #13491
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved. If you wish to update this topic please reply here instead of creating another topic.

    2016-04-05 at 8:06 pm
    Support Expired
    #13674
    kcassoccicates
    Participant
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    • Post count: 8

    We had already tried what you’ve suggested. The theme does not allow what we need.

    We need 2 pages to use the Blog Template. One Blog page and one News page. The option suggested means that only one page can be use the Blog Template and in the Theme options we assign which category to show in that page. So if we chose to a particular category (eg. Blog) in that page, we cannot have another page for News.
    We have tried using the Default template for the News page and call in blog posts using short codes. For example we tried [blog cat=”news” limit=”-1″ pagination=”false” postmeta=”true”] . But this does not work. And all categories are loaded in the page. The desired is not selected. Furthermore, if we chose “Default Template” instead of “Blog Template” the look of the posts break and the meta information (Date, author, category etc.) moves to the top of the title.

    Also, we need to load “recent news” only in the footer and not “recent blog posts”. That means we only want to load the posts with news category and not “ALL” posts. But the footer widget is loading “All” posts. Please look into this issue as well.

    2016-04-06 at 3:44 pm
    #13685
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Sorry for the inconvenience with the shortcode. We just realized that the shortcode doesn’t seems to work with the specific category and we made a small fix and it can be edited in the concept/framework/shortcode/blog.php

    Find Code

    $args = array(
        'cat'               => $cat,
        'paged' 		=> $paged,
        'posts_per_page'=>$limit
    );
    

    Replace Code

    $args = array(
        'taxonomy'		=> 'category', 
        'category_name'	=> $cat,
        'paged' 		=> $paged,
        'posts_per_page'=>$limit
    );
    

    After that instead of creating two separate templates for the blog as suggested earlier you can use the blog shortcode as it should work. Regarding the Template you can still use one as a Blog Page Template and the other as the shortcode.

    After doing all the above changes if you fail to achieve the things according to your requirements then please feel free to contact us via Skype so that one of our staff will help you out by giving you a walk-through over the Skype or else we can share the screen with Teamviewer and do take a closer look at it.

    2016-04-06 at 10:12 pm
    Support Expired
    #13691
    kcassoccicates
    Participant
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    • Post count: 8

    Thanks – we’ll try this out and report back.

    2016-04-07 at 9:12 pm
    Support Expired
    #13710
    kcassoccicates
    Participant
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    • Post count: 8

    Please refer to
    Agile blog page ( http://www.agileframeworks.com/blog/ ) and
    Agile news page ( http://www.agileframeworks.com/news/ )

    As you can see the category is now working based on the instructions given. However, the “look” of the posts in news page doesn’t appear like blog posts. We have applied ‘Default Template’ (with blog shortcode) for the news page and ‘Blog Template’ for the blog page.

    Please advise on what needs to happen next.

    2016-04-11 at 12:17 pm
    #13733
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Kindly choose the “Sidebar Option” as “right sidebar” below the page in Concept Page Options for the news page.

    2016-04-11 at 3:30 pm
    Support Expired
    #13745
    kcassoccicates
    Participant
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    • Post count: 8

    Hello Pam, thank you for your response.

    But, it is not a sidebar issue. The titles and meta-data are not appearing properly in the news page (http://www.agileframeworks.com/news/). Please refer to the screenshot attached.

    2016-04-11 at 3:37 pm
    #13748
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    If you can provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2016-04-19 at 3:53 pm
    #13863
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved because of no reply. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.