• Resolved AutoHelpRepair

    (@autohelprepair)


    Human Theme – How to edit page source? I can right click on Home page and see the source, but do not see the same source in header.php.
    What I am trying to do is remove the twitter card from the source. I can not remember which plugin it was, but it left the twitter card og meta in source code when I uninstalled it. I am using Yoast and when I click the check box for twitter card Google seo tells me there are two twitter cards and to remove one before Google considers it spamming.

    Simple all I need is to remove this see link
    https://drive.google.com/file/d/0B7wRpApg2VxmSmRCbFJxMmppZTQ/edit?usp=sharing

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Lee,
    I think it’s best to continue solving twitter card meta issue in this thread.
    Finally found some time to analyze your previous posts and to examine again source code of your website.
    First, theory – according to all my knowledge (maybe somebody will correct me ?? WP is PhP dynamically driven, i.e. it generates HTML on the fly from theme and it’s PhP files (OK, some CSS + jQuery, JavaScript, but not important in this case). Your header.php (you listed it somewhere) is absolutely normal and so are the rest of Hueman theme files (if you used child theme or some Custom CSS plugin for modifications).
    What causes problem is some plugin that creates that additional code, and your approach “how to edit page source” by PhP is wrong – the point is to find out which plugin is causing issue.
    Further:
    -I examined (used Chrome, but not important) your main page (and few others) HTML and I cannot find lines like

    <meta name=”twitter:card” content=”summary_large_image”/>
    <meta name=”twitter:site” content=”@autohelp007”/>
    <meta name=”twitter:domain” content=”Auto Repair Help.US”/>
    <meta name=”twitter:creator” content=”@autohelp007”/>

    that I see in your snapshot from GDrive image you attached.
    So, first question:
    -exact page of your website where you took that snapshot (eventually, what tool you used examining the source HTML)???

    For now, it is basic question, further we can analyze plugins you have – even deactivated plugins can cause issue.
    You can also check following:
    Best practice is to deactivate and delete plugins you don’t need (deactivated plugins can also slow down WP website, among else).
    Checking sub folders in “\wp-content\plugins\” via FTP (or File manager from your host)is also not bad idea,since poor written
    plugins sometimes don’t removes physically, even after they are deleted from WP admin panel.
    You are using WP SEO by Yoast, as I understand – I use it for a long time on all my websites, excellent plugin – you can be sure that it’s not “guilty one”.
    That’s it for now, please provide some info mentioned above, so we can continue.
    Regards,
    Mike

    Thread Starter AutoHelpRepair

    (@autohelprepair)

    Mike, Thank you for the great information. I just now found the damn problem. It was a plugin called icontrolwp – in this plugin had a plugin called twitter bootstrapper. I figured this out by remembering what plugins I used and tested in the past. Well, while using, as you suggested, deleting only from the FTP program – I installed the icontrolwp back into WordPress and then deleted it using Filezilla, not admin panel, and the twitter card disappeared.
    This is scary cause who knows what else is left behind from other plugins I have tried in the past two years, by deleting from the admin panel?
    Is there any plugin to test for empty to partial files left behind by past deleted plugins??

    Also, What do you recommend to use for social shares? Yoast has the main three, but I would like a plugin to do more like NextGen Facebook (NGFB) ?

    Thank you so much for the great help and advice – Your the Man!!!

    Best,

    Lee

    Hi Lee,
    glad we solved it in almost first attempt.
    Yes, we all like using plugins (that’s the main power of WP), but you never know how good or bad it is written – so it can make your life heaven or hell:)
    It’s not so scary – normally they are located in above mentioned “plugins” folder / sub folders, if you kill them there (Filezilla is good choice), then they are gone for sure. Just take a look from time to time – how many active plugins you have in admin, locate it in “plugins” sub folders, the rest – kill & destroy ??
    This goes a bit beyond over average user practice & knowledge, but sometimes it’s necessary (I never install plugin on live server before testing it thoroughly on local XAMPP installation, if you like playing with WP plugins, I can recommend you the same, everything remains on local machine, no “live” damage done). So you don’t need “plugin against bad plugins”, Filezilla and some patience is more than enough.
    Unfortunately, don’t have advice for NGFB.
    Please mark [resolved], makes life easier finding open issues in
    this forest of threads ??
    Regards,
    Mike

    Thread Starter AutoHelpRepair

    (@autohelprepair)

    Lastly How do I get a hold of next time I need Help?

    Lee

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can’t, all you can do is create a thread and wait.

    @andrew, don’t be cruel ??
    If you look at my posts, all I wrote on this forum was just for my fun & pleasure ( + at the moment being Hueman theme addict)
    @lee, do as Andrew suggests – I’ll notice it, specially if question is clear & well defined ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    To clarify, www.remarpro.com forums provide no way of private messaging people, or nudging people. You can try things like tagging a thread with a particular username, but then it’s up to the helper to decide whether they monitor threads from that tag. Helpers can also decide to subscribe to the theme’s RSS feed to be notified of any new threads.

    Try to avoid targeting your threads at one person though, that does have an impact on other people passing by who may want to help too.

    To clarify – from my point of view:
    – I never used www.remarpro.com forums for any private messaging, “nudging” etc – just tried to solve other people’s issues according to my experience & knowledge
    – I never “targeted one person” – my criterias for offering help & solutions are:
    -my knowledge
    -clear and well defined question
    -If I used some of simbols like smiley, “nudging”, or some extra sentences & advices – it was always connected with the content of the post,usually as thread issue was resolved
    -If I’m conflicting with some forum rules – I’d kindly ask somebody (moderators?) to point me which rules & regulations?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There is confusion here, I was responding to @autohelprepair:

    Lastly How do I get a hold of next time I need Help?

    Lee

    I wasn’t referring to you, Mike Orange.

    Hi i want to hide my page source description and keywords in my Hueman theme?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to Edit Page Source Code for Home Page’ is closed to new replies.