This topic has 7 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #92301
     krazykaze
    Participant

    Hi, when i create a post i had it set to also show “related” “Share this” and “Related Articles”. But i dont want it in that order as I want it share, related related articles.

    Also, want to add a lil message caption above “share this” on every post.. how do i make that possible?

    Thanks guys, great job

    #92451
     Radu
    Moderator

    Hi,

    There is no option to change the order of those elements.

    It can be done but i will require some custom modifications to the article template file.

    Regarding the custom text after article please add this function to wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    function KleoAddSlideUnderPosts( $content ) {
    
        if( is_single() ) {
    
            $MyText = '<h3 style="text-align: center;">My Custom Text</h3>';
            $content .= $MyText;
        }
    
        return $content;
    
    }
    add_filter('the_content', 'KleoAddSlideUnderPosts');
    
    

    Replace My Custom Text with your desired text

    NOTE : Child theme needs to be activated.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92586
     krazykaze
    Participant

    okay i understand, I will have you guys custom code it for me then.

    also, can you please tell me how to change the “read more” at the end of every post to “share/comment”
    ive tried and failed

    #92651
     Radu
    Moderator

    Hi,

    Please provide a screenshot that pointing out the read more button

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #92781
     krazykaze
    Participant

    change readmore to share/comment

    Attachments:
    You must be logged in to view attached files.
    #93151
     Radu
    Moderator

    Hi,

    Just add this file post-content-masonry.php to wp-content/themes/kleo-child/page-parts/ ( see attachment )

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #94053
     krazykaze
    Participant

    thank you.

    so i need to change the order so that Share is on top, and switch g+ with instagram
    its a custom process? what do i need to do to have this complete

    Attachments:
    You must be logged in to view attached files.
    #94570
     Radu
    Moderator

    Hi,

    According the instagram API sharing links to instagram are not possible

    http://stackoverflow.com/questions/30542054/does-instagram-have-share-button-or-not/30542068#30542068

    And also i see that the share this section are immediately after the post content.

    http://lorneschwaier.com/bella-vous-makeup-artistry/

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?