Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to remove post meta space and shrink post entries space
- This topic has 9 replies, 3 voices, and was last updated 10 years, 2 months ago by biowilliam.
-
AuthorPosts
-
February 10, 2014 at 4:59 am #89616biowilliamMember
Using the Genesis Simple Edit plugin, I am able to remove the post meta information. But it seems it just hide the information as the space is still there on my blog static page where posts get updated in reverse chronological order. Anyone knows how to delete the blank space for post meta?
Also it is extremely great if you could share sth on how to shrink each post entry width as I wanna accommodate more posts within one page. I have already added "more" tag in my post content and only a small excerpt is shown for each post entry on my blog static page.
Thank you so much:)
February 10, 2014 at 7:25 am #89633Davinder Singh KainthMemberCan you post your website url to understand what is causing extra space?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 10, 2014 at 7:41 am #89641chillybinMemberadd this to functions.php if you're using a html5 theme, if not the snippets are here > http://my.studiopress.com/snippets/post-meta/
//* Remove the entry footer markup (requires HTML5 theme support) remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); //* Remove the entry meta in the entry footer (requires HTML5 theme support) remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign
February 10, 2014 at 7:59 am #89649biowilliamMemberMy blog post site is http://www.uccvd.org/category/%e6%94%bf%e5%95%86%e6%b4%bb%e5%8a%a8/
Thank you so much for your prompt response:)February 10, 2014 at 7:59 am #89650biowilliamMemberMy blog post site is http://www.uccvd.org/category/%e6%94%bf%e5%95%86%e6%b4%bb%e5%8a%a8/
Thank you so much for your prompt response:)February 10, 2014 at 7:59 am #89651biowilliamMemberMy blog post site is http://www.uccvd.org/category/%e6%94%bf%e5%95%86%e6%b4%bb%e5%8a%a8/
Thank you so much for your prompt response:)February 10, 2014 at 8:04 am #89653biowilliamMemberDear Chillybin
Thank you so much for your prompt response.
When I add the following codes to my child theme functions.php, I get HTTP 500 internal error.
//* Remove the entry footer markup (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
//* Remove the entry meta in the entry footer (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );And the following code does not influence anything. I am sure as I deleted browser cache too.
//* Remove the post meta function
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );February 10, 2014 at 8:10 am #89658chillybinMemberNot sure, that could should work, a 500 error means you have some formatting wrong in functions.php
make sure you have an open <?php tag at the top, and this code is before any closing ?>
We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign
February 10, 2014 at 8:11 am #89659chillybinMemberAlternatively, you can just add this code to your style.css
footer.entry-footer { display: none; }
We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign
February 10, 2014 at 9:01 pm #89729biowilliamMemberHi Chillybin
I am not sure what happened, but your previous HTML5 theme code works great now.
Thank you so much:)
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.