If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 11, 2012 at 5:20 pm #12859
So i am trying to figure out the following.
As of now i am posting like this:
Title Of Post
more images under here
so everything over the <!–more–> tag shows on the front page! Once the Title of Post on the front page is clicked everything else shows including whats above the <!–more–> tag.
I want to make it possible that when the Title is clicked all the info above the <!–more–> hides?
Is it possible with our theme?
Also is it possible to hide the lightbox once the Title is clicked meaning once the users are viewing the full post?
<span class=”image_overlay_effect lightbox_image” style=”display: block; z-index: 5; opacity: 0.6; “></span>
Crashed pics are on purpose btwJuly 11, 2012 at 8:30 pm #76943
Unfortunately not that I know of. The more tag is a function of wordpress and I’m not sure if it gives any kind of front end change that would let you hide it on single view.
The main function of the featured media is to take care of this kind of set up. The image displays above the content and then can be manipulated by the php to output a different layout for the single post view.
I think you can strip the lightbox functionality from single post view but i’ll need to check with another of the support crew for the specifics.
DevinJuly 12, 2012 at 12:27 am #76944July 12, 2012 at 1:11 am #76945
I’m going to tag Devin on this thread so he can easily get back with you.
MyaJuly 31, 2012 at 6:26 pm #76946
You can add the following to your avia.js:
jQuery('.single-post .post-entry .slideshow').find('img').unwrap();
DevinAugust 8, 2012 at 6:54 am #76947
Tried that and it did not change anything! Is there a specific spot i need to add the code at? I added it at the very bottom of the avia.js file!August 8, 2012 at 2:09 pm #76948
The class might need to be adjusted for your site then. Can you give a link to the page type you want the lightbox stripped from?
DevinAugust 9, 2012 at 12:32 pm #76949
i have successfully removed the light-box from all posts.
Still have not figured hiding the image though!
Could i PM you temp admin access so you can take a look for yourself and see if i am putting the code wrong.
If yes do you need CPanel login as well?
Thank youAugust 9, 2012 at 3:49 pm #76950
The topic ‘Hide an image from the front page to the post’ is closed to new replies.