• Resolved wispertech

    (@wispertech)


    I am using the “Pet Care Clinic” theme and FooGallery plugin. When opening up an image from the gallery I am getting some of the HTML code showing on the buttons:
    <i class=”fa fa-chevron-left”></i> Previous
    Next <i class=”fa fa-chevron-right”></i>

    In other themes the buttons don’t show at all. Any ideas how to fix this without manually editing code? As this will just be overwritten with updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support elviiso

    (@elviiso)

    Hi @wispertech

    To be able to effectively assist you with this, kindly share the page containing the gallery so that I can run some tests and analysis from my end before I can advise further. Thanks in advance for doing so.

    Kind regards,
    Elvis.

    Thread Starter wispertech

    (@wispertech)

    Hi @elviiso,

    I had a play around with CSS to see if I could hide the element, but it didn’t work.

    This appears to be to do with the theme “Pet Care Clinic”.

    themes/pet-care-clinic/image.php

    <div class="nav-previous"><?php previous_image_link(false, esc_html__('<i class="fa fa-chevron-left"></i> Previous', 'pet-care-clinic')); ?></div>
    <div class="nav-next"><?php next_image_link(false, esc_html__('Next <i class="fa fa-chevron-right"></i>', 'pet-care-clinic')); ?></div>

    So I had a play around with the HTML inside these PHP tags…

    <div class=”nav-previous”><?php previous_image_link(false, esc_html__(‘Previous’, ‘<i class=”fa fa-chevron-left”></i>’, ‘pet-care-clinic’)); ?></div>
    <div class=”nav-next”><?php next_image_link(false, esc_html__(‘Next’, ‘<i class=”fa fa-chevron-right”></i>’, ‘pet-care-clinic’)); ?></div>

    It now appears to be displaying correctly. Hopefully it won’t affect anything elsewhere. Will hit up the creators of the theme.

    Cheers.

    • This reply was modified 2 years, 3 months ago by wispertech.
    • This reply was modified 2 years, 3 months ago by wispertech.
    • This reply was modified 2 years, 3 months ago by wispertech.
    Thread Starter wispertech

    (@wispertech)

    Hmm… keeps modifying out the less than and greater than coding (

    “& lt ;” and “& gt ;”

    in the edited code.

    • This reply was modified 2 years, 3 months ago by wispertech.
    Thread Starter wispertech

    (@wispertech)

    Can this post here be deleted, at I thought I was replying to another thread.

    • This reply was modified 2 years, 3 months ago by wispertech.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML showing on buttons – FooGallery’ is closed to new replies.