Peyton Earey
February 10, 2015 at 11:38 am
Any reason my favicon won’t show when viewing an event? (single view)
Lorenzo Orlando Caum
February 10, 2015 at 1:28 pm
Add New Note to this Reply
Hi Peyton, single event pages in Event Espresso 4 are custom post types so the favicon should appear.
Do you see the favicon in the page source or when the page is inspected using something like Chrome developers tools or Firebug?
—
Lorenzo
Peyton Earey
February 10, 2015 at 1:34 pm
Add New Note to this Reply
No, sorry, EE3. The favicon is in the source, just not showing. you can see here in development.
Shows:
http://templebethel.org/bww/
Doesn’t Show:
http://templebethel.org/bww/event-registration/?ee=3
Tony
February 11, 2015 at 6:08 am
Add New Note to this Reply
Hi Peyton,
How is that fav icon being added?
Is it through a plugin? Theme options etc?
The reason I ask is on this page:
http://templebethel.org/bww/
The fav icon is added within head – http://take.ms/VTENO
On the EE page, it is added within the body – http://take.ms/5YAXY
Peyton Earey
February 11, 2015 at 7:18 am
Add New Note to this Reply
It’s a function in my theme’s function file.
function mytheme_favicon() {
echo '<link rel="shortcut icon" href="' . get_bloginfo('stylesheet_directory') . '/images/favicon.ico" >';
}
add_action('wp_head', 'mytheme_favicon');
Lorenzo Orlando Caum
February 11, 2015 at 11:45 am
Add New Note to this Reply
Hi Peyton, could you confirm if this is Event Espresso 3 or Event Espresso 4?
They worked differently so that information would be helpful.
Thanks
—
Lorenzo
Peyton Earey
February 11, 2015 at 2:45 pm
Add New Note to this Reply
This WAS EE3. I’ve upgraded and now working.