Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wellstudio

    (@wellstudio)

    That’s true.
    In this case it was for a custom page that pulled details from a database based on some GET variables, so it was fine just to build it into that page template.
    But always good to put things in functions.php!

    Thread Starter wellstudio

    (@wellstudio)

    Hi, I’ve worked this out for myself –
    There is a function in the plugin called ‘add_twitter_card_info’, which is added into wp_head.
    You have to use a remove action hook to get rid of it.
    This is the code I used to remove –
    remove_action('wp_head', 'add_twitter_card_info', 99);
    You can drop this into a theme template file before you call get_header(); to remove twitter cards from that page.
    Also, you must give it a priority of 99 (third argument) as it has to match the priority of the original add_action hook.
    Just dropping this in here incase anyone else needs the info.

    Yeah, sorry for confusing you.
    wp_head() and wp_footer() are two functions that wordpress uses to load plugins and other things. On some themes that I’ve worked with they have been removed or disabled (that’s what commented out means).
    If they are disabled then wordpress will not be able to load certain plugin features (this was the problem that I had). This doesn’t seem to be the issue in your case though.
    I hope this information might help anyone else that is looking for a solution though.

    I had a similar problem to this and I realised that it was because wp_head() was commented out in my theme header.php.

    Many plugins rely on wp_head() (and also wp_footer(), found in footer.php) to work.
    Check in your header.php for wp_head() and that it hasn’t been commented out. Also check for wp_footer() in the footer.php.

    My specific problem was to do with wp_head, but this plugin may well use wp_footer too (I can’t be bothered to check).
    If including wp_head causes any problems then you’ll probably need to stop it loading some scripts. You can find that info on google or I could help (if I ever remember to come back to this thread).

    Hi, looks like there isn’t any information about this whatsoever.
    I’m going to be integrating Pure360 with a wordpress site, I’ll let you know how it goes….

Viewing 5 replies - 1 through 5 (of 5 total)