WordPress.org

Forums

Events Manager
[resolved] Tag page behaves like a page with the same ID as the tag (10 posts)

  1. Excolo
    Member
    Posted 1 year ago #

    It seems that wherever the ID of my tags, coincides with the ID of any of my pages, the tag page behaves like the given page. I.e. the WP header is the same as that page, and thus the navigation item of that page is marked as active.

    I'm using my own custom theme, so there might be something I've missed there, though the event and tag pages are formatted using the events administration.
    I've set the event pages and location pages to use the "page.php" instead of "post.php" (as I don't have a post.php). But I'm unable to specify the same for tag pages - could this be the issue?

    Anyways, thanks in advance for any support.

    Best Regards
    - Nikolaj

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

  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

    just to confirm, is this working properly using default twenty twelve theme? also, have you tried Events > Settings > Pages > Event Tags > Tags page ?

  3. Excolo
    Member
    Posted 1 year ago #

    I've tried the twentytwelve theme and e.g. the canoninal link still seems to point to the page with the same ID as the event tag.
    The same goes when using a tags page, although when using the tags page, the correct page is marked as active in the menu.

  4. angelo
    NetWebLogic Support
    Posted 1 year ago #

    hmm, do you also have sample links for us to see and analyze?

  5. Excolo
    Member
    Posted 1 year ago #

    This is the tag page coinciding with the page http://62.243.46.141:10013/kalender/tags/foraeldre/
    It coincides with the page Vennerne, but they have nothing to do with each other - other than that they share an ID.

    Right now the twentytwelve theme is active, without any changes to the default settings. The tag-page is set to No Tags Page, but setting this to e.g. "Tags" will make that page the active, although the canonical link in the header will still point to the "Vennerne" page.

  6. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Do you have any plugins or modifications running that change the default permalinks behavior? A "No Category" plugin, or something like that?

  7. Excolo
    Member
    Posted 1 year ago #

    I havn't. I have turned the event categories off in the Events Manager settings, but mostly as a means to try to solve the problem at hand. In my own theme I had a filter in my functions.php file that marked the parent of child menu items, as active whenever the child was active. This shouldn't impact the twentytwelve theme though.

  8. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    When you say that the two pages share an ID do you mean they share the same page slug, or that literally have the same ID number in WP admin?

  9. Excolo
    Member
    Posted 1 year ago #

    Litterally have the same ID number - although different "types" of ID. The tag ID of e.g. "Foraeldre" is 10, and the page ID of "Vennerne" is 10 as well. The other example I've found is the tag ID of "Storspejderne" is 5, which makes the canonical link (and current active menu item) point to the page "Nyheder" which has the page ID 5.
    So yes, litterally the same ID number in WP admin.

  10. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    I think that's your problem - every post, page or custom post type should have a unique ID.

    It looks like you have a new blog, in which case the easiest fix is probably to delete the database and reinstall WordPress. It looks to me like something went wrong with your database.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags