Site logo

[Resolved] 3 things I need to do it with GP theme

Home Forums Support [Resolved] 3 things I need to do it with GP theme

Home Forums Support 3 things I need to do it with GP theme

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #327049
    Tamer

    Hi Tom,

    Thank you for a great theme. I bought the Pro + WP Show Posts Pro; to get more powerful. : )

    our old website now is: https://entrprnrshp.com/
    our new website it will be: http://riyadamag.com/

    Currently, I’ve three things I need to do it with the theme (with our RTL language):

    1. Simply, How we can make the header/menu (fixed and sticky) look like this:
    http://prntscr.com/fek3f0

    and to look like this on mobile:
    http://prntscr.com/fek4es

    (Note: as you see Tom, the burger icon in right, so when we push it, the menu come from the right, not left as is now the case at RTL GP. See http://prntscr.com/fek6ct)

    2. We need to solve the problem with the Quotation mark to be on right, not left. this is what we mean:
    http://prntscr.com/fek987

    3. Can I show the category name on homepage/blog page? So that the format:
    Image
    Category
    Address

    Waiting for your help and thanks again, Tom.
    Tamer,

    #327214
    Tom
    Lead Developer
    Lead Developer

    1. First, you would want to make your navigation sticky and set it as your header: https://docs.generatepress.com/article/navigation-logo/#navigation-as-header

    For the other things, you use the generate_inside_navigation hook:

    add_action( 'generate_inside_navigation','tu_items_in_navigation' );
    function tu_items_in_navigation() {
    ?>
        <div class="navigation-date">
            <?php echo date('l, jS \of F Y'); ?>
        </div>
        
        Other html etc..
    <?php
    }

    Then you’ll need to style it with CSS of course.

    You can open the menu from the right like this: https://docs.generatepress.com/article/open-slideout-navigation-right/

    2. Try this:

    blockquote {
        border-left: 0;
        border-right: 5px solid rgba(0,0,0,.05);
    }

    3. Not too sure what you mean – are you wanting to move the post categories from the bottom to the top?

    #329074
    Tamer

    Hi Tom,

    Sorry for late answer. Thank you for your support. Most of your solution worked well. Now we looking to:

    1. In next Pic, you can see the header we looking for it, Tom. I’m not a good developer with CSS or hook to custom codes. So we looking for your help to get this look:
    https://prnt.sc/fgcgxs

    2. We need to put/show the excerpt under the title on Post page.

    3. About the 3rd pint on the last message, you can see what I mean on next pic:
    https://prnt.sc/fgchrx

    Thank you to much,
    Tamer

    #329152
    Tom
    Lead Developer
    Lead Developer

    1. Activating the slide-out menu will show the 3 bars: https://docs.generatepress.com/article/activating-slide-out-navigation/

    The other elements I’m afraid you’ll need to play with using the filter I mentioned and some CSS.

    2. I’m not sure what you mean. Post excerpts should already display below the title?

    3. It looks like you’re using WP Show Posts for those posts. You’ll need to ask on those forums for code specific to the plugin.

    #331690
    Tamer

    Yes, the Post excerpts already displayed below the title, but this on the blog page. I need it display too on the “Post Page”. I mean, when the reader opens the link of the post, he can see the title, then excerpt, then pic, then content.. etc.

    #331774
    Tom
    Lead Developer
    Lead Developer

    The excerpt shouldn’t display on the single post, it should be:

    Image (if set to above title)
    Title
    Post meta
    Image (if set to below title)
    Post content
    Footer post meta

    #331781
    Tamer

    Does this mean there is no way to display the excerpt below the title on the single post? We want it like that:
    http://prntscr.com/fid6lv

    #331803
    Tom
    Lead Developer
    Lead Developer

    On the single post? Wouldn’t it just repeat the same content? The point of the excerpt is to see a small bit of the content, then click through to the main post to see the full content.

    #331811
    Tamer

    No Tom, Because we put a custom excerpt to be as a description of the post and many many websites do this, It’s a beauty tool. Did you see the pic what I sent you? Let me tell about the example of the pic: http://prntscr.com/fid6lv

    Title post: Chinese emperor points to 10 vices that should be avoided by managers

    Excerpt (used as a description): Capable of influencing the attitudes of business leaders to the present day, these dialogues are real lessons in gaining self-knowledge, valuing people, exercising leadership, and influencing

    First paragraph from the content: “One of the greatest leaders in history, Emperor Tang Taizong was primarily responsible for transforming China into the most powerful country in the world thanks to an administration marked by innovative and daring achievements… etc”

    So, as you see, it’s not repeat the same content. Waiting your help. : )

    #331817
    Leo
    Staff
    Customer Support

    So like a subtitle? Maybe check out this plugin? https://en-ca.wordpress.org/plugins/subtitles/

    Jean suggested a method here as well: https://generatepress.com/forums/topic/adding-subtitle-to-blog-page/#post-102139

    #331832
    Tamer

    I think the method of Jean is good, but it’s too old; because the codes are changed in the new updated. I tried to put his codes and didn’t work too.

    About the plugin, it’s worked too, but I need to hide the subtitles from homepage, to display only on the single post. I tried many similar plugins, all display the subtitles on homepage too without any option to hide it from there.

    #331833
    Leo
    Staff
    Customer Support

    Any chance you can provide a link to the page where you don’t want the subtitles displayed?

    #331836
    Tamer

    Sure. Here you are the link: http://mudiroon.com/

    As you see we test it with post name “Test 3). What we need is hide or remove the subtitle from homepage and just display it on the single post.

    #331851
    Tom
    Lead Developer
    Lead Developer

    Try adding this CSS:

    body:not(.single) .entry-subtitle {
        display: none;
    }
    #332218
    Tamer

    Thanks Tom and Leo, the code is worked. Last thing, here: http://riyadaissues.com

    a) We need to put the logo on right not left.
    b) and the logo on mobile on center, not left.

    That’s all.

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