[Resolved] Need some fixes on the new layout

Home Forums Support [Resolved] Need some fixes on the new layout

Home Forums Support Need some fixes on the new layout

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1344859
    Mouse

    1- The category description is not being shown on the category pages.
    For example in the category home improvement, I want the heading to be moved a little up and show the description below. As you may be able to understand from the screenshot below.
    https://ibb.co/fd5bR7W

    2- Want the link at the bottom of the page to be removed. You may also see that in the screenshot. https://ibb.co/hBZbWmV

    3- At the bottom of each blog post I want to show the category and only show up to 5 different pages from that category
    And I want the category to be changed to More from the Category : “Category Name”
    Screenshot: https://ibb.co/ZVDrZXC

    4- From the homepage I want the images to be aligned. Screenshot: https://ibb.co/L9K1n5D

    #1344977
    Leo
    Staff
    Customer Support

    Hi there,

    1. You are using header elements on category archives so you’d need to use this method to add it in:
    https://generatepress.com/forums/topic/add-custom_field-description-in-category-header/#post-375162

    2-4. Can you open a new topic for each of the questions so we can work on each one separately?
    https://www.screencast.com/t/gSja5lzL68

    Thanks!

    #1346089
    Mouse

    It says add this

    add_shortcode( ‘term_description’, ‘tu_term_description’ );
    function tu_term_description() {
    ob_start();
    echo term_description( get_queried_object()->term_id’, ‘category’ );
    return ob_get_clean();
    }

    and then add this:
    [term_description]

    Isn’t there a simpler way to do this?

    #1346239
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can use this template tag in your Page Hero to get the term description: {{custom_field.description}}

    #1347534
    Mouse

    The template shows {{custom_field.description}} on search pages… What do I do for them?

    #1347734
    Leo
    Staff
    Customer Support

    There is no description on the search result page so I would recommend adding the search result page in exclusion rule and create a separate header element specifically for the search result page if you need one.

    #1347909
    Mouse

    Is there a way to add description of this as well as the 404 pages?
    If not… Then how do I create the seperate pages for both?

    #1348022
    David
    Staff
    Customer Support

    Hi there,

    create a header element specifically for Search results.
    Now add your description or whatever content you need in your header element.

    Repeat this for the 404.

    #1357624
    Mouse

    Thanks for all the help guys.

    #1357702
    David
    Staff
    Customer Support

    You’re welcome

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