Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2277487
Adding Exceprts to posts
Closed

Comments

  • whanklee started the conversation

    Hi.

    I would like to know when will you add this feature to theme? 

  •  501
    Penci replied

    Hi,

    I'm not clear about the question.

    This theme supported Exceprts , you want add Exceprts  to post, please edit post then click to  "Screen options" and check "excrept" option as screenshot https://prnt.sc/qrcn18

    Best Regards,

    PenciDesign

  • whanklee replied

    You have got a sense of humour. :)
    I know it and thought it would be better when excerpts appear in the post. For example, below the title with italic and dark font style.

  •  501
    Penci replied

    Hi,

    Currently, this theme doesn't support the featured. 

    Don't worry about the issue.

    Please send me: 

    - Your admin url 

    - Your admin account ( username and password ) 

    - Your FTP account ( include FTP host, FTP username, FTP password ) - or your hosting account. 

    In a private reply.

    I will add excrept  below the title with italic and dark font style help you 

    Best Regards,

    PenciDesign

  • whanklee replied

    Hi there.

    Unfortunately, I cannot give you access to FTP, however, what about creating a private repo in Github, and I give you access to this. It is possible way? If it is okay for you, can I ask an e-mail address?

  •  501
    Penci replied

    Hi,

    Please send me via email:  [email protected]

    Best Regards,

    PenciDesign

  • whanklee replied

    Hi,

    Did you received Github repository?

  •  501
    Penci replied

    Hi,

    I received  repository, 

    i will adding Exceprts to posts help you respond as soon as possible.

    Best Regards,

    PenciDesign

  • whanklee replied

    Hi,

    I would like to ask that you have any time to do that?

    Thank you very much.

    Bence

  •  501
    Penci replied

    Hi,

    We have lots of features that need to make pennews theme.  Please waiting for us.

    Best Regards,

    PenciDesign

  • whanklee replied

    Hi there,

    I've solved it with the following codes:


    //======================================================================
    // Add excerpts after title
    //======================================================================
    function excerpts_after_title_in_post($content){
        if ( is_single() && ! is_admin() ) {
            if ( has_excerpt() ) {
            $excerpt = get_the_excerpt();
            $content = '<h3 class="excerpt-box">' . $excerpt . '</h3>' . $content;
            }
        }
        
        return $content;
    }

    add_filter( "the_content", "excerpts_after_title_in_post" );