Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #985238
    christiaanakkermans
    Participant

    Hi,

    I’d like to remove the author and the date meta data at posts/pages from my entire website.
    Reading on the forum, I tried to add the following code in my child theme’s functions.php file:

    // Entry Meta
    // =============================================================================

    if ( ! function_exists( ‘x_integrity_entry_meta’ ) ) :
    function x_integrity_entry_meta() {

    }

    Unfortunately now I have a parse error.

    Can you solve the parse error and remove the author and the date meta data at posts/pages from my entire website?

    Hope you can help!

    Christiaan

    #985247
    christiaanakkermans
    Participant
    This reply has been marked as private.
    #985449
    Rupok
    Member

    Hi there,

    You didn’t copy the code correctly from forum as it seems incomplete. It should be like this :

    if ( ! function_exists( 'x_integrity_entry_meta' ) ) :
      
    function x_integrity_entry_meta() {
      //Nothing here
    }
    
    endif;

    You missed the endif;.

    Now log in with FTP and edit the code to above code.

    Cheers!

    #985507
    christiaanakkermans
    Participant

    Unfortunately it did not helped to remove the author and the date meta data at posts/pages from my entire website.

    In the attachement you can see what it is I want to remove from the entire website.

    What can I do?

    Christiaan

    #985656
    Christopher
    Moderator

    Hi there,

    I just checked the page provided in screenshot and there was no meta date, please see the attachment. Did you manage to fix it?

    You can disable ‘post meta’ under Customize -> Blog -> Content.

    Hope it helps.

    #985695
    christiaanakkermans
    Participant

    I think there was a delay.. Thnx for helping!

    #985847
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-985238 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>