Remove post info from posts

Homepage Community Forums Epik Theme Support Remove post info from posts

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7337
    #7344
    Eric
    Customer

      The hooks changed in Genesis 2.0. You can take a look here – http://wpsites.net/wordpress-themes/new-genesis-2-0-loop-hooks-how-to-use-them/ to see what I’m referring to. “genesis_before_post_content” changed to “genesis_entry_header”


      I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

      #7357
      derekalvarez
      Customer

        Thanks Eric, I tried the whole thing… converted the css to HTML5, added add_theme_support( ‘html5’ ); to my functions.php file and changed the code to…

        //* Remove the post info function
        remove_action( ‘genesis_entry_header’, ‘genesis_post_info’ );

        Still, nothing?

        #7373
        Eric
        Customer

          I wonder if “genesis_post_info” changed as well? I’ll do some searching to see what I come up with.


          I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

          #7379
          derekalvarez
          Customer

            I looked at it again and here is the correct code…


            //* Remove the entry meta in the entry header (requires HTML5 theme support)
            remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );

            For some reason, you have to add that “12” at the end.

            #7388
            Eric
            Customer

              Oh yes, I remember seeing something like that before. I think one of the developers mentioned it or something. I need to locate all of those changes and post them somewhere so I can reference it in the future.


              I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

              #7422
              Anup
              Customer

                Thanks derekalvarez, this was helpful!

              Viewing 7 posts - 1 through 7 (of 7 total)
              • The topic ‘Remove post info from posts’ is closed to new replies.