Site logo

[Resolved] swich title and excerpt position

Home Forums Support [Resolved] swich title and excerpt position

Home Forums Support swich title and excerpt position

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1533568
    alexgen

    from some crazy purposes i need to switch “title” and “excerpt” position on my archieve page.
    Yes, i really need to display excerpt where title is, and title where excerpt.

    but i can’t find code to move in archieve.php 🙁 any tips where is that code?

    on search plugin it was easy, i just changed order like that:
    <h2>“><?php the_excerpt(); ?></h2>
    <p><?php the_title(); ?></p>

    #1533772
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know 🙂

    #1535686
    alexgen

    hi my page is an archieve of old documents with signatures.

    So signstures in title place are great to manage my base, but difficult for users who want see first text, not signature 🙂

    so i’m looking for part of php where i can switch order and style of display title and excerpt like:
    first: bold content-linking excerpt
    second: small signature

    i did it on my search plugin, but cant find this php line in theme

    can u help me with that?

    #1535909
    David
    Staff
    Customer Support

    Hi there,

    the simplest way would be with some CSS like so:

    .generate-columns-container .inside-article {
        display: flex;
        flex-direction: column;
    }
    
    .generate-columns-container .inside-article .entry-summary {
        order: -1;
        margin-top: 0;
        margin-bottom: 0.5em;
    }
    #1535938
    alexgen

    great! thanks so much, it solved my problem …with no touching php 🙂 🙂

    #1536004
    David
    Staff
    Customer Support

    Glad to be of help!

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