bluesinlondon
Forum Replies Created
-
Forum: Plugins
In reply to: [XPoster - Share to Bluesky and Mastodon] Tweeted link to homepage, not postGreat – exactly what I needed. Have made a small donation by way of thanks.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postThanks for all the help!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postThanks,
Actually I did a bit of digging around and found this on the codex – to be added to a child ‘functions.php’ file… Seems to do the trick.
add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 ); function my_post_image_html( $html, $post_id, $post_image_id ) { $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>'; return $html; }Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postWell, I appreciate your trying to help, but I don’t think what you say can be correct…
The ‘Home’ section (is this the ‘main posts page’) on the link that I’ve given shows multiple images right?
All of them were added using the ‘Featured Image’ panel.
This was the same with the default Twelve Theme, and the only things I’ve done with the child theme are minor styling changes.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postI’m afraid I don’t understand you again. Perhaps I’m confusing things by using the wrong words…
On the site I’ve created – http://www.thebirdbrowser.com/ – the ‘Home’ page displays multiple posts, including and image, which has been inserted using the ‘Featured Image’ panel in ‘Add New Post’.
I’d like those images to have the same link as the post title.
I’ve experimented with other themes, for example Reddle, and the images had the same link, so I’m hoping this should be possible…?
Thanks for your patience.
R
Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postI’m sorry, I don’t understand the question.
You can see what I’m doing here: http://www.thebirdbrowser.com/
Some posts include a ‘Featured Image’. These show up on the home page, and also category archive and search results.
I’d like these images to have the same link as title.
(There may be an added complication in that I’m using a plugin (‘Page Links To’) to point post titles to external links…)
Any thoughts?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Featured Image link to postYes.
Forum: Themes and Templates
In reply to: [Reddle] Alternate header image for mobileThat’s great. Thanks so much for taking the time to help out!
Forum: Themes and Templates
In reply to: [Reddle] Adding year to date circleThanks so much for taking the time to do this Lance – all seems to work and have now go the year in the circles. Yay!