Forum Replies Created
-
AuthorPosts
-
macrunnerParticipant
Is much better, because it Featured Image only appears in the preview, awesome 🙂
Thank you again 🙂macrunnerParticipantHi Brad,
Okay, now it works fine!Thank you very much 🙂
macrunnerParticipantI tried to use this code that thou hast reported: http://wpsites.net/web-design/add-remove-image-above-post-title/
but does not work well, the images are duplicated: http://egotheme.it
This is the code that I used:
functions.phpadd_action( 'genesis_entry_header', 'wpsites_before_post_image', 5 ); function wpsites_before_post_image() { if ( is_page() ) return; if ( $image = genesis_get_image( 'format=url&size=post-image' ) ) { printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) ); } }
style.css
.post-photo { margin-bottom: 35px; display: block; margin: 0 auto 2.4rem; }
macrunnerParticipantBoth, archive and single posts.
I tried to follow this tutorial (yours): http://wpsites.net/web-design/display-featured-image-before-or-after-entry-title-on-single-posts-pages/
but it works partially.
The site currently no modification or addition code, installed WordPress + Genesis + Agency Pro active theme.
macrunnerParticipantHi, I was working on the local server, but I've uploaded a new installation on the remote server.
this is the link: http://egotheme.itThank you very much
macrunnerParticipantOk, thank you very much
macrunnerParticipantHi,
I followed these instructions: http://www.rvamedia.com/wordpress/rename-genesis-child-themebut there is one thing I do not understand ...
In the functions.php file, the following line:define( 'CHILD_THEME_URL', 'http://www.rvamedia.com/themes/fusion/' );
Maybe the path should be?: http://mydomain.com/wp-content/themes/my-child-genesis-theme/
I'm a little 'confused
thanks
macrunnerParticipantGreat, thank you very much
-
AuthorPosts