badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Large featured image on single post page, in lightbox?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17407
    randy
    Participant

    Hello everyone. I love this theme and appreciate the free version as it suits my needs well. I have a question though… I am using the “blog image large” blog template. When a user clicks on a post that brings up the single post page, can I have the top image (above the text), link back to itself instead of it being redirected to the same single post? I hope I am being clear. Here is a link to a sample post on my site: http://www.nicholasgwc.com/password-common-sense/ When you click the image at the top, it simply redirects the link back to the same page. It would be nice if when clicked, it opened up the original feature image in full size. Can you tell me a way to accomplish this so that when your theme is updated, the changes will not be lost. Thanks so much for your help. I actually did search through and read lots of forum posts before I asked.

    As far as the lightbox effect, I have a plugin, Simple Lightbox, installed which should work… see the second image in the post to see what I mean.

    #17444

    Hi randy,
    We have designed our theme this way. You need code customisation for it. The file is inside interface(folder) -> inc -> structure-> content-extension.php with function name interface_theloop_for_template_blog_image_large
    We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    Thank you!

    #17457
    randy
    Participant

    Thank you for the response… I understand that the file will need to be altered. I can setup a child theme, no problem. I also understand that you cannot supply official help since this is the free version. However, “if” I wanted to simply leave this image as it is, except remove the link altogether, what would I need to correct or delete from content-extension.php ? If I simply remove the reference to interface_theloop_for_template_blog_image_large, will this do it? I really appreciate your advice. Thanks!

    #17485

    hi randy,
    You don’t need to delete any file from the Parent theme. If you unhook the functions and then customise the code then the content you add in the child theme will overrides the parent theme. So any modification is only done on the child theme not in the parent theme.
    Hope you understand
    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.