Forum Replies Created
-
AuthorPosts
-
January 16, 2017 at 11:08 am in reply to: Suggestion: Hook inside the header but outside the wrap #199483jaxwebParticipant
Thank You so much. that worked great!
January 14, 2017 at 11:48 am in reply to: Suggestion: Hook inside the header but outside the wrap #199392jaxwebParticipantI want the wrap to stay at 1200 pixels wide because i want to keep the content (logo & widgets) within that width. I have a fixed header and wish to move the navigation within the header but adjust it based on the the dynamic height of the header as it adjusts in height based on the widgets and logo content within it. This would also eliminate the adjustments i have to make within css to make fixed navigation positions at all breakpoints and then adjust the site-inner as well based on the breakpoints. This is a bit much and gets complex and creates too much testing If i can just make the header fixed, all i need to do is adjust the site-inner location from the top based on the height of the header.
SO this is what i'm trying to do
jaxwebParticipantFor those who want to know what i did
Added this to my functions.php
function custom_excerpt_length( $length ) { return 30; } add_filter( 'excerpt_length', 'custom_excerpt_length', 9 ); function new_excerpt_more($more) { global $post; return '<a href="'. get_permalink($post->ID) . '">Read More</a>'; } add_filter('excerpt_more', 'new_excerpt_more');
Then added this to where i was adding the excerpt in my front page php
$id = 14; $temp = $post; $post = get_post( $id ); setup_postdata( $post ); echo the_excerpt();
jaxwebParticipantok. well. [sarcasm]now i feel really smart. [/sarcasm]
Thanks! -
AuthorPosts