Making whole post from the posts page (index.php) CLICKABLE
I need some help. I don’t know how to make whole div that contain post clickable. I have 10 posts per page and i need all posts to be clickable and to send users to single posts (single.php). I want to achieve exactly the same effect like Read More link does only i want the whole post to be clickable
Thanks in advance
Not really a WordPress installation question…
2) i added this under my step number 1
3) i added this in my page content to try if this worksbut it’s nt working for me
Where is mistake? does anybody know?
Don’t include any external jQuery library! I told you in my first reply that jQuery is already included in WordPress by default and that you can use it right out of the box by using jQuery’s no-conflict syntax. See http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_Wrappers
Then make sure your functions are called in the footer (or head) of the document – you can’t put your jQuery code into your post’s text-area form in the admin backend. The code needs to be placed in one of your theme template pages, like footer.php or header.php. And if this isn’t your own custom theme, you should look into creating a child theme.
- The topic ‘Making whole post from the posts page (index.php) CLICKABLE’ is closed to new replies.