Forum Replies Created
-
AuthorPosts
-
TreefungusMember
Thank you for your replies.
Susan when you write that you and Anita both provide support for some of the community marketplace themes do you mean your own or others too? Just wondering if people come to Studiopress for help on community themes. Just seems support should be provided by the creator of theme. Perhaps it is just because the buyers are not fully aware that it is a community theme?
Appreciate your feedback.
TreefungusMemberHi ameeker
Did you sort it out? I am having same issue but it seems you sorted it. How did you do get your titles back on the blog archives?
Thanks
I believe I sorted it. Thanks anyway
TreefungusMemberAlso tried this but still cannot give it my own div class
/** Add custom field above page */
add_action( 'genesis_before_content', 'littledevil_page_image' );
function littledevil_page_image() {
if ( has_post_thumbnail() ){
echo '<div class="imgfeatured">';
echo the_post_thumbnail( 'full' );
echo '</div><!-- end .imgfeatured -->';
}
}TreefungusMemberOk I have tried something new which is this code. I am now only picking up post_thumbnail
/** Add custom field above page */
add_action( 'genesis_before_content', 'littledevil_page_image' );
function littledevil_page_image() {
if ( has_post_thumbnail() )
the_post_thumbnail( 'full' );
echo '<div class="imgfeatured">';
echo '</div>';}
but my styling is not working. I cannot seem to remove my styling that I have made to normal images using img class. I want this specific image to have the imgfeatured style.
Any help is appreciated.
Thanks
TreefungusMemberHow embarrassing. I installed that plugin but never used it. I deactivated it and now it is working. I guess it was overriding my code. Silly me.
Thanks for helping me out
TreefungusMemberSorry... here is the correct code. Not sure why the code had changed but I still have a problem.
/** Add date block before post title */
add_action( 'genesis_before_post_title', 'custom_post_date' );
function custom_post_date() {if ( ! is_page() ) {
echo '<div class="post-date">';
echo do_shortcode( '[post_date format="M j, Y"]' );
echo '</div><!-- end .post-date -->';
}}
/** Customize the post info function */
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter( $post_info ) {if ( ! is_page() ) {
return 'By [post_author_posts_link] · [post_comments] [post_edit]';
}return $post_info;
}
TreefungusMemberAppreciate your feedback.
Thanks
-
AuthorPosts