Support

Home Forums Event Espresso Premium Favicon on Single Event

Favicon on Single Event

Posted: February 10, 2015 at 11:38 am

Viewing 6 reply threads


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

  • Support Staff

February 10, 2015 at 1:28 pm

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

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

  • Support Staff

February 11, 2015 at 6:08 am

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

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

  • Support Staff

February 11, 2015 at 11:45 am

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

This WAS EE3. I’ve upgraded and now working.

Viewing 6 reply threads

The support post ‘Favicon on Single Event’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso