Support

Home Forums Event Espresso Premium Yoast on course pages

Yoast on course pages

Posted: May 1, 2019 at 7:23 am

Viewing 6 reply threads


Porter

May 1, 2019 at 7:23 am

I’ve followed the instructions give on https://eventespresso.com/topic/yoast-on-event-pages/ but I still can’t see the Yoast settings on the page. Am not sure what I’m missing!


Porter

May 1, 2019 at 7:29 am

This reply has been marked as private.


Tony

  • Support Staff

May 1, 2019 at 7:41 am

Hi there,

Generally, we don’t work directly on your site with purchasing a support token so no need for login credentials.

I’m using that same snippet on a couple of test sites to force Yoast to load, so have you added the code a custom functions plugin and confirmed that plugin is activated?


Porter

May 1, 2019 at 7:48 am

OK – so i misread the instuctions, I’ve added the code to the functions php and not the custom function plugin. I’ll try that and get back to you if I have any problems!


Porter

May 1, 2019 at 9:05 am

This reply has been marked as private.


Tony

  • Support Staff

May 1, 2019 at 9:12 am

Plugin could not be activated because it triggered a fatal error.

Fatal error: Cannot redeclare ee_yoast_seo_always_register_metaboxes_in_admin()

That’s happening because you have the function in both your theme’s functions.php and the custom functions plugin. You can only have a 1 function with that name on your site, so remove the code from functions.php


Porter

May 1, 2019 at 9:25 am

Ah that explains it – it’s now working! Thank you for helping me resolve this.

Viewing 6 reply threads

The support post ‘Yoast on course pages’ 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