Hi! I use wordpress with headway themes.
I would like to deactivate the links of the featured image and the blog headline of an entry targeting to the single post view. Is this possible? I just use the blog to show photos with a headline. There is no need to see it as single. Is this possible with css? and if yes, how??
http://alpha.restaurant-richard.de/kuche/
Arnav Joy answers:
can you provide me login access to your site
Arnav Joy comments:
you can also try this jquery method , though it is only for this page
<script>
jQuery(document).ready(function($)){
$('.pageid-19').find('a.post-thumbnail').attr('href','javascript:void(0)');
}
</script>
Arnav Joy comments:
please ignore above message , try this
<script>
jQuery(document).ready(function($){
$('.pageid-19').find('a.post-thumbnail').attr('href','javascript:void(0)');
});
</script>
klaus dyba comments:
This worked for the photos. Not the headlines, though... any idea?
Arnav Joy comments:
try this
<script>
jQuery(document).ready(function($){
$('.pageid-19').find('a.post-thumbnail').attr('href','javascript:void(0)');
$('.pageid-19').find('h2.entry-title').find('a').attr('href','javascript:void(0)');
});
</script>
klaus dyba comments:
Worked!
klaus dyba comments:
Worked! If you could tell me know how to avoid the mouse-arrow while hovering over the image and the headline (only there) I would be happy!
Jatin Soni answers:
You need to modify php files
header.php and either index.php or front-page.php or home.php
need to check in your theme files
Francisco Javier Carazo Gil answers:
You have to delete the anchor references in loop (index.php or loop.php of your theme) to http://codex.wordpress.org/Function_Reference/the_permalink the_permalink and the echo to the URL of thumbnail: wp_get_attachment_image_src.