Forums

Theme Logo
Installation Issue (24 posts)

  1. markb1439
    Member
    Posted 2 years ago #

    Hi,

    Trying to Network Activate on multisite...get error, "This plugin does not have a valid header."

    Is there a fix?

    Thanks,

    Mark

    http://wordpress.org/extend/plugins/theme-logo-plugin/

  2. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    Hello, markb1439

    I have not yet encountered this problem, but i have researched the error you are getting.

    Make sure the plugin is not in any other subfolders.
    below is correct
    plugins>themelogo>plugin files

  3. markb1439
    Member
    Posted 2 years ago #

    Hi,

    I tried to install it directly from WordPress.

    Is this multisite compatible?

    Thanks,

    Mark

  4. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    I have never used multisite capabilities before with it. only normal single site installs. i suppose it would only once per admin panel. unless each site has its own admin panel - but that i doubt.

  5. Ariane85
    Member
    Posted 2 years ago #

    Hi,
    it works not under 3.0.1, if i disable the Plugin i become a notification:
    Fatal error: Call to undefined function theme_logo() in ...

    Regards Ari

  6. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    yes, that can be fixed by using replacing the theme_logo() function in your header with this:

    <?php if(function_exists("theme_logo")): theme_logo(); else:
    				//You can put whatever you want here
    				//The content here shows up if theme logo plugin is deactivated
    				//You could put your original code for your logo here
    				echo "Please activate the Theme Logo plugin.";
    				//echo bloginfo("title");
    			endif;
    			?>

    the reason you got that error is exactly because you had the plugin deactivated. wordpress didnt recognize the theme logo function and thats why it spit out that error.

  7. Ariane85
    Member
    Posted 2 years ago #

    @zackperdue

    Thank you.
    It works greatful, have a nice happy xmas.

    Ariane

  8. minnorge
    Member
    Posted 2 years ago #

    I can not change the logo. As a result i have icon with small red cross and small blog name. So plugin resized blog name and show small crossed icon. WP 3,0,4. Calotropis theme.

  9. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    If you could link the site you are trying to post it on or explain a little better what you are doing or have done i can try and help better. But it sounds like you have supplied a bad image url so the image cant load. I would start with checking where your image is uploaded - and copy its url into the theme logo plugin url box.

    Hope this helps!

  10. nkaupps
    Member
    Posted 2 years ago #

    Hi,
    In the plugin it only has instructions for an image as the logo. My theme's default is a text title on top of an image background header.
    Any suggestions?
    http://www.verticaljumpjournal.com

    Thanks

  11. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    Well, if you wanted to use a logo that didn't interfere with the background i would suggest a text logo or something that had a transparent background... like a png. useful for a logo that had a special font that someone else' computer might not have.

  12. nkaupps
    Member
    Posted 2 years ago #

    Alright thanks, well i have my png logo with a transparent background. but, would the code look like that i need to replace?

  13. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    you will replace this:

    <h1><a title="Home" href="http://verticaljumpjournal.com">Vertical Jump Journal</a></h1>

    with:

    <?php if(function_exists("theme_logo")): theme_logo(); else:<br />
    				//You can put whatever you want here<br />
    				//The content here shows up if theme logo plugin is deactivated<br />
    				//You could put your original code for your logo here<br />
    				echo "Please activate the Theme Logo plugin.";<br />
    				//echo bloginfo("title");<br />
    			endif;<br />
    			?>

    or something very similar to that. :)

  14. nkaupps
    Member
    Posted 2 years ago #

    Replaced the code. But came up with an error:
    "Parse error: syntax error, unexpected '<' in /home/nkaupps/public_html/wp-content/themes/scruffy/header.php on line 43"

    i really appreciate you helping me :)

  15. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    The forum here put in some stuff that shouldnt be in the code. scroll up the page and take the code from up there. its clean. http://wordpress.org/support/topic/plugin-theme-logo-installation-issue?replies=15#post-1813590

  16. nkaupps
    Member
    Posted 2 years ago #

    you are a life saver. i have struggled with my logo code for a long time. Now i just need to fix my broken image message, and get the right location for my file.
    Thanks!

  17. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    Broken image icon means that the browser cant find the image using the given url. Upload the image using the wordpress uploader in the media tab on the left hand menu, then when the box pops up telling you info about the image, choose the full path to the image (near the bottom) and copy that then go to the theme logo plugin and paste it then save. Done. :)

  18. SofthyenA
    Member
    Posted 2 years ago #

    Hey Zack. I realised that my logo shows border on some other browsers than Firefox 4. I need to remove that border, how can we do that?

  19. zackperdue
    Member
    Plugin Author

    Posted 2 years ago #

    If you give me a link to the site, i may be able to give better help with that. but my first guess, is that you need to add a css rule for your logo image.

    Im not sure what classes or ids you have on your logo, but you want to do something like this:

    #logo{
    border: none;
    }

    and you want #logo to refer to the <img> itself.

    Let me know if this works.

  20. SofthyenA
    Member
    Posted 2 years ago #

    Yes its exactly worked! Thanks for the support man, its really a nice plugin.

  21. mattar
    Member
    Posted 1 year ago #

    Hi,
    How do you change the size of the logo? It seems to scale out no matter how small I make before I upload it to the library.
    Thanks!

  22. zackperdue
    Member
    Plugin Author

    Posted 1 year ago #

    You can use the built in image editing functionality within wordpress. After the image is uploaded, it will display and next to it there will be some buttons that allow it to be modified using rotate, crop, or scale. Try using the scale button. I believe its on the right.

  23. mattar
    Member
    Posted 1 year ago #

    I've tried that earlier and you can watch yourself mltfastigheter.se.
    That part should be 1/4 or 1/3 of that size.
    /Mats

  24. zackperdue
    Member
    Plugin Author

    Posted 1 year ago #

    I see your problem.

    There is a css rule making the image stretch to 100% of the width of its parent.

    On line 530 of style.css find "#branding img" and remove: width: 100%;

    That fixed the problem for me.

    I hope this helped.

    ____________________
    Dont forget to follow me on twitter @zackperdue
    http://zackperdue.com
    http://ziggidycreative.com
    http://thisisepic.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic