WP Headmaster
[resolved] adding additional code in head (10 posts)

  1. grigione
    Posted 2 years ago #

    I have added kml and favicon files inmy site and now i want add relative codes in head section such us:
    <link rel="alternate" type="application/vnd.google-earth.kml+xml" href="SixRevisions.kml" />
    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" /> and
    without conflict with yoast plugin that install all others meta code that i need
    It's possible with your plugin without conflict with Yoast?
    It's compatible with last wordpress 3.5.1?


  2. bavington
    Plugin Author

    Posted 2 years ago #

    Hey Grigione, apologies for the late reply to your question.

    So just to confirm, would you like WP Headmaster upgrading so that you can source and enqueue links like the KML one via the plugin?

    With respect to the Favicon are you also suggesting an option to source the image from within the theme rather than via uploading it in the backend?


  3. grigione
    Posted 2 years ago #

    Yes if is possible upgrade your plugin to include this features....

    for favicon in header.php i want insert code <link rel="shortcut icon" href="http://www.tuosito.it/favicon.ico" >

    thanks and sorry for bad english

  4. bavington
    Plugin Author

    Posted 2 years ago #

    Hi again Grigione, are you looking for an alternate way of displaying a Favicon to uploading it through the back-end?

    Do you wish to source your Favicon from an external URL, or are you simply looking for a way to add any hard-coding into wp_head ?

  5. grigione
    Posted 2 years ago #

    sorry but i don't uderstand very well I have favicon.ico in root directory of my site and uploaded it in root with ftp I want link it with code inside header.php :
    <link rel="shortcut icon" href="http://s.wordpress.org/favicon.ico" type="image/vnd.microsoft.icon"/>
    <link rel="icon" href="http://s.wordpress.org/favicon.ico" type="image/x-ico"/>
    I don't want edit header php code manually

  6. bavington
    Plugin Author

    Posted 2 years ago #

    No problem at all Grigione. Are you aware though that you can upload your Favicon automatically through my plugin, and the code that embeds the Favicon will automatically be added to the head?

    Or would you prefer not to upload it via the WP Headmaster settings, and instead source it locally from your theme folder?

    Or is it that you're looking to have the two different <link rel tags whereas my plugin only deploys the one?

    Hope that helps Grigione, thank you for your patience.

  7. grigione
    Posted 2 years ago #

    yes if is possible upload automatically favicon through plugin is best option

  8. bavington
    Plugin Author

    Posted 2 years ago #

    No problem, you can already do that through the plugin. Basically, if you use the 'upload'/select .ico; button, you can upload your file, then press 'insert into post.

    This should then fill the field next to it with the URL to your upload.

    If you see the second screenshot on this page: http://wordpress.org/plugins/wp-headmaster/screenshots/

    That shows a Favicon that has been uploaded through this method.

    Once you have the URL to the .ico within the field, it will automatically add the <link rel within the <head> which is what you're looking for.

    Let me know if that works OK.

  9. grigione
    Posted 2 years ago #

    Ok thanks favicon problem resolved .Now only. I need TO link kml file

  10. bavington
    Plugin Author

    Posted 1 year ago #

    Thanks Grigione,
    I'll consider the TO Link for a future update, but glad to hear you resolved the ICO issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Headmaster
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic