Support

Home Forums Event Espresso Premium Yoast SEO metabox not visible on event creation pag

Yoast SEO metabox not visible on event creation pag

Posted: April 12, 2016 at 6:43 am


haryia

April 12, 2016 at 6:43 am

Hi,
I need to seeYoast options on event page.
I try to follow this post https://eventespresso.com/topic/yoast-seo-metabox-not-visible-on-event-creation-page/ and add some line in function.php file without success.
What can i do? I really need seo for event pages,
Thanks


Tony

  • Support Staff

April 12, 2016 at 6:56 am

Hi there,

So are you currently using this code?

https://github.com/eventespresso/ee-code-snippet-library/blob/master/third-party-integration/tw_ee_load_yoast_seo_within_ee.php

Which version of Yoast do you have installed?


haryia

April 12, 2016 at 7:06 am

Yes, and I use version 4.8.39


Tony

  • Support Staff

April 12, 2016 at 8:04 am

That’s the version number of Event Espresso, which version number of Yoast are you using?

It looks like a loading issue when using that snippet so it can’t be loaded within your themes functions.php file (it loads to late)

You’ll need to create a Site Specific Plugin and add the code to that, or you can use the one I used during testing: http://take.ms/Unezz

However be sure to remove ALL of the previous code you added to functions.php for this before uploading that plugin, otherwise you’ll likely get a fatal error.


Tony

  • Support Staff

April 12, 2016 at 8:05 am

Also note, there is an issue with Yoast when forcing it to load outside of standard posts like this, it will cause JavaScript errors on the Event editor due to how host is loading in the current version.

One of our developers investigated this and created a pull request here:

https://github.com/Yoast/wordpress-seo/pull/4118

They have now included the fix (and improved upon it) but it has not yet been released within the Yoast plugin. So you will need to wait for them to release the update for yoast for it to work.


haryia

April 12, 2016 at 8:13 am

Hi I use Yoast 2.3.4
I try to use this http://take.ms/Unezz without success, and I don’t use other code inside function.php .. 🙁
Create a site specific plugin is the only way? I suppose Eventespresso was compatible with Yoast, but I am having too many problems now..


Tony

  • Support Staff

April 12, 2016 at 8:22 am

Create a site specific plugin is the only way?

The link I provided above IS a site specific plugin, are you installing that as a plugin or using the code within functions.php?

Make sure you remove the code from functions.php and install that file as a plugin. That will force Yoast to load on EE pages.

I suppose Eventespresso was compatible with Yoast, but I am having too many problems now..

The issues you see with Yoast are due to how Yoast is reliant on specific sections within the page that only load within standard posts. Forcing it to load within EE means those sections aren’t available and they needed to work around that (which they have, but its not included within the current release version of Yoast)

Yoast 2.3.4

That version of yoast is over 8 months old.

We test on the latest version only.


haryia

April 12, 2016 at 10:13 am

hi, i resolve the problem with this plugin
https://it.wordpress.org/plugins/event-espresso-smooth-integration/


Tony

  • Support Staff

April 12, 2016 at 11:58 am

Hi,

That does the same as the other plugin I provided, but I’m glad you have a working solution 🙂


haryia

April 13, 2016 at 1:27 am

thanks anyway! 🙂

The support post ‘Yoast SEO metabox not visible on event creation pag’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  haryia 3 years, 7 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.