Home Forums Pro Themes eVision Corporate Pro Remove date, author and previous/next links

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #890

    How can I remove the date and author at the beginning of the inner pages/posts as well as the links to the previous and next post at the bottom?


    Hello @Johannes,

    First of all thank you for using eVision Corporate Pro theme.

    For the above request you would need to do a little code edit in specified theme files.

    1. So first, create a Child Theme and activate it. Refer https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme to create a Child Theme.

    2.Copy the files from theme folder, content-single.php (location: /template-parts/content.php )and single.php (location: theme root folder ) into your child theme with same folder structure.

    2. Now comment out line no. 19 from single.php which will remove the post navigation.

    i.e. <?php the_post_navigation(); ?> // comment this line of code

    3. To remove meta information like date, author name comment out line no. 22 from content-single.php.

    i.e. <?php evisioncorporatepro_posted_on(); ?> // comment this line of code

    Hope that helps resolving your query. If you have any confusion going through the process, kindly post it back.


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