• Resolved judynight

    (@judynight)


    Newbie question:
    I have some code I’d like to delete from a plug-in. (I don’t like the way the meta-tags look.)
    I can find and delete in Inspect Element, but I’m not sure which .php file it comes from. (There are about 20 files in this plug-in.)
    How can I find out where to go to remove the code?
    (Or should I be going about this in a different way…?)

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You should be going about it a different way, proabably through CSS.

    Please provide a link to your site and tell us what you want to remove.

    Thread Starter judynight

    (@judynight)

    Thank you!

    210restaurant.com

    It’s on the home page after the verbiage.
    I tried putting into custom code the following and it didn’t work:

    .post-meta {color:transparent}

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Transparent doesn’t always work, though I don’t see it in chrome. Try “display:none” instead of “color: transparent”.

    I’m glad you asked here — I didn’t know Judy Roberts was still around and singing. I saw her a couple of times at a hotel bar (the Intercontinental?) on Michigan Avenue. I’ll keep an eye on that calendar.

    Thread Starter judynight

    (@judynight)

    Oh, very cool! Yes she’s in Phoenix during the winter but she’ll be around Chicago for another month or two. Come by the club! ??
    OK trying…

    Thread Starter judynight

    (@judynight)

    Hmmm…
    On Firefox it appears my prior efforts were successful.
    On Chrome though now I have both instructions in CSS and it’s still there…

    Thread Starter judynight

    (@judynight)

    When I inspect element in firefox I see the code I put in a child theme on firefox, but I don’t see the transparent code when I inspect the element in chrome…?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Perhaps I’m not understanding what you mean be metatag. What’s the content you want to hide? It seems hidden to me

    https://i.imgur.com/Ehd9HTf.png

    If I add “display: none;” then it’s doubly hidden.

    https://i.imgur.com/ItEM7Ox.png

    Thread Starter judynight

    (@judynight)

    Oh. I went incognito and it’s hidden. Maybe my cache is causing issues.
    Thank you so much! ?? I have other questions but I’ll use a new thread.

    Thread Starter judynight

    (@judynight)

    Yup–cleared cache and fixed it.

    Thread Starter judynight

    (@judynight)

    Thank you Steve Stern for helping again. I thought I recognized the name but your appearance changed ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Newbie: How to find the .php to remove undesired code.’ is closed to new replies.