WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] The Events Manager and headway (8 posts)

  1. roamingk
    Member
    Posted 8 months ago #

    Hi, I am successfully using headway and the events manager on my site.

    Headway comes with a panel for SEO, to allow me to add the meta title and description on any custom post type, by adding the attribute "headway-seo". Once I add this it can be seen on the page when I make a new custom post.

    I am wondering how do I enable this field to the events back end, so that when I want to add an event, the SEO options come up on this page also or have it appear under "screen options".... either is fine.

    Keith

    http://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 8 months ago #

    you need to add custom post type 'event' in your "headway-seo".

    e.g.
    wp plugin 'WordPress SEO' works fine on EM

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 8 months ago #

    in theory it should work automatically , but you may want to ask headway whether their SEO function works with custom post types, or how to activate our CPTs to work with their plugin.

  4. roamingk
    Member
    Posted 8 months ago #

    It works in custom post types...

    It just does not appear when I go to "add an event".

    angelo_nwl .. I don't want to add a plugin as the funcionality is already built into headway... so I am not sure what you mean when you say

    "add custom post type 'event' in your "headway-seo"."

    Could you clarify?
    K

  5. caimin_nwl
    NetWebLogic Support
    Posted 8 months ago #

    I think was angelo_nwl meant was if there's an option to add the name of a custom post type to Headway SEO panel, you could add 'event'.

  6. roamingk
    Member
    Posted 8 months ago #

    Ok Headway say the following:

    Showing Headway SEO Options for Custom Posts

    If you add custom post types by editing the functions.php file and you want the Headway SEO meta box to appear when editing your custom posts, add "headway-seo" to the supported parameters:

    'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments', 'headway-seo')

    I get this, but where do I put this in for the "Events Manager".

    K

  7. roamingk
    Member
    Posted 8 months ago #

    Ok I added the following to the functions file of headway in a child theme.

    add_action('init', 'my_custom_init');
    function my_custom_init() {
       add_post_type_support( 'event', 'headway-seo' );
    }

    This loads the SEO panel when I am adding an event using the event manager now.

    Just so people have an answer.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 8 months ago #

    thanks for posting that, it'll probalby help someone in the future

Reply

You must log in to post.

About this Plugin

About this Topic