Okay
  Public Ticket #1733406
Blog layout
Closed

Comments

  • jemir started the conversation

    I create a new page (https://suriahelanglui.com/events/) on my site and i want it like blog - list layout. I try to use widget, but it not same as demo site. How to setup page with 'blog -list layout'? Could you guide me step by step?

    TQ

  •  1,715
    Barry replied

    Hi Jemir,

    To use the blog layout from our theme demo please follow these steps:

    1. Create a page that serve as summary page (in this case you want to use "Events")
    2. Add at least one post under the "Post" tab in the admin menu
    3. Navigate to Settings -> Reading
    4. Select "A static homepage"
    5. Set the "Post Page" select field to "Events"
    6. Save the settings

    Now the Events page should have the same design as in our theme demo.

    If you have any questions feel free to ask.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • jemir replied

    I already follow yours instruction but all post are display on that page (Events page). How to view only certain post category on that page?

  •  1,715
    Barry replied

    Hi Jemir,

    The default blog list layout from our theme demo is created for the default WordPress post loop (which is the blog page on our theme demo).

    The "QT: Latest Post" widget you're using on this page is only designed to display a couple of latest posts on the homepage. Of course you're free to use this widget on any other page but the blog list layout is not in this widget.

    If you want to display a summary of posts from the event category in the blog list layout you don't have to create a seperate page for this but you can link straight to the category url of events which is:

    https://suriahelanglui.com/category/event/

    The steps:

    1. Navigate to Appearance -> Menu's
    2. Select the main navigation
    3. Remove the "Event" page from the menu
    4. Add a "Custom Link" to the menu
    5. As custom url add: https://suriahelanglui.com/category/event/
    6. As custom text add: Events
    7. Save the settings

    If you want to remove the "Category:" prefix from the page title you can do this with some custom code. But the easiest method without touching any code is to install and activate the Remove Category Word From Title plugin.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • jemir replied

    Hi, I already add custom URL (https://suriahelanglui.com/category/event/) for event but sidebar is not display. How to display sidebar for this URL?

  •  1,715
    Barry replied

    Hi Jemir,

    All underlaying pages of the blog system of WordPress (category pages, tag pages, archives) get the page settings for the main blog summary page. If you enable the sidebar on this main blog page it will also display for the category pages (like Events).

    The steps are as follow:

    1. Create a page called Blog (if you have this page already skip this step)
    2. Navigate to Settings -> Reading and select this Blog page as Post Page (if you've don this skip this step)
    3. Edit the Blog page
    4. Scroll to the bottom and set the sidebar position to left or right
    5. Save the page.

    Now the sidebar should display on the event category page: https://suriahelanglui.com/category/event/

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • jemir replied

    How to make a different sidebar layout for each post categories? For example, I want  to use current sidebar for https://suriahelanglui.com/category/articles but for https://suriahelanglui.com/category/event , I just want to display widget QT: Facebook only.

  •  1,715
    Barry replied

    Hi Jemir,

    Unfortunately this is not possible by default. The category pages of WordPress are automatically generated and are not handled as "pages" in the WordPress back-end. Because the page options will only display on pages you can't change the sidebar for categories.

    But with the help of the Widget Logic plugin this will be possible. This widget will add a new field to the end of each widget called widget logic (screenshot).

    Now let's say if you want to display a widget for the "articles" category you can add the following code in to the widget logic setting (in the Page Sidebar):

    is_category( 'articles' )

    and if you want to display a widget only for the "event" category you can add this:

    is_category( 'event' )

    This is a great solution is you only want to show a couple of different widgets for different sidebars but if you gonna create tens of sidebars with all different widgets maybe it's not. But it's the only easy solution (without coding) to achieve it.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes