Tagged: ,

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

    Hi
    I would like to add an author bio box at the end of each post, but I don’t want to use any plugin because the box goes everyware ruled by posts, such as WooCommerce products.
    Is there any way to add some code at the single.php, so I can see something similar to the author bio box at the top of the author archive page?
    Thank you!

    #351100

    Hey jorlafer!

    Thank you for using Enfold.

    You can edit single.php, find this code:

      get_template_part( 'includes/loop', 'index' );
    

    Add this below:

    if(is_single()) get_template_part( 'includes/loop', 'about-author' );
    

    Cheers!
    Ismael

    #485227

    @ismael

    Hi,

    I want the same – to add an author box at the end of each post and to get the same box at the top of the author archive page.
    But how can I manage this single.php file in my child theme ? For the moment there’s only style.css and functions.php in it. What have I do to preserve the whole Enfold native file ?

    #485232

    Hey!

    You can move single.php file to your child theme and modify it there.

    Regards,
    Yigit

    #485628

    @jorlafer

    have a look at my answer here

    #485653

    Hey!


    @newpointdeview
    Thanks! But this thread is almost a year old so i doubt that he will see it :)

    Best regards,
    Yigit

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