• Hi,

    I’d appreciate some help with the following issue: in the event list on the right sidebar, the event titles are hyperlinks, but they lead to nirwana (i.e. they produce a 404 error). How can I set the target of the hyperlink to an existing page or post? I have tried to set a URL in the website field of the event, but this does not help…

    Alternatively, can I disable the hyperlink?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    To fix the 404 issue you need to resset the permalinks, this is easily done

    go to Settings> Permalinks and hit SAVE that is it the links should work

    Thread Starter dillhausen

    (@dillhausen)

    Hi @alanfuller ,

    thanks for the fast reply! I’m not sure if I understand correctly:

    Do you mean the permalinks in the event editor? It has a fixed structure of <mydomain>/event/<eventname> and I can only edit the eventname in the permalink, the “/event” is fixed…

    Or do you mean the permalink setting in wp-admin under settings->permalinks? This is set to <mydomain>/<postname>. Do you really suggest to change this to <mydomain>/event/<postname>? Then it would apply to all my posts and pages, not only to the ones I want to use for the event manager…

    Sorry, I’m confused.

    Plugin Author Alan Fuller

    (@alanfuller)

    Go to

    wp-admin under settings->permalinks and hit [save]

    that is it – no changes just save

    this is a ‘standard’ WordPress ‘thing’ to do when getting 404’s

    Thread Starter dillhausen

    (@dillhausen)

    ok, understood, and works!

    404s are gone, but the event detail page showing up should be the standard page with the standard sidebar, right? It is somewhat strange in my case, because the event list in the sidebar does not show any event titles. Do you have an explanation for that?

    Thanks so far

    Plugin Author Alan Fuller

    (@alanfuller)

    It uses the single POST ( not page ) template by default ( single.php )

    If you need a custome template you would create an event-single.php to override.

    Why teh titles don’t appear is interesting and I’ll have to investigate more.

    • This reply was modified 6 months, 2 weeks ago by Alan Fuller.
    Plugin Author Alan Fuller

    (@alanfuller)

    Can you tell me if you have two different sidebars – page and post?

    Also can you screen shot the widget settings you have in the sidebar(s)

    Thread Starter dillhausen

    (@dillhausen)

    Thanks for investigating!

    My theme uses 3 different layouts: the homepage (i.e. the start page), the standard template (the one with the sidebar) is used for posts and most pages, and the full width layout (one without sidebar) is occasionally used for some pages like impressum, data privacy declaration, etc.

    I can select the layout for pages, but not for posts. All posts use the standard layout.

    I have checked the widget code in all sidebars via wp-admin->appearance->widgets for posts, event detail page and pages in standard layout: it is always

    [qem posts=’4′]

    Screenshot for standard layout, screenshot for event detail page

    Plugin Author Alan Fuller

    (@alanfuller)

    OK when using a shortcode as a widget on a single-event page you have to tell it it is a widget

    [qem posts=4 widget=true]

    Otherwise it doesnt show teh title ( as it expects the title to come from the post template )

    Also if you dont want to create a custom template for your event-single then it is probably a good idea to hide teh post meta

    e.g.

    .single-event .entry-meta {
    display: none;
    }

    you may also want to hide the post navigation

    .single-event .mh-post-nav-item {
    display: none;
    }

    • This reply was modified 6 months, 2 weeks ago by Alan Fuller.
    Thread Starter dillhausen

    (@dillhausen)

    ok, I have added the widget=true to the sidebar widget, but still no headlines on the event detail page (screenshot)

    I will have a look into your other suggestions, sounds interesting…

    Plugin Author Alan Fuller

    (@alanfuller)

    OK thanks – yes normally one woudl use teh widgetin teh sidebar rather than the shortcode – I thought the option widget should make it do what the widget does – but clearly not, need to check that.

    • This reply was modified 6 months, 2 weeks ago by Alan Fuller.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘hyperlinks lead to nothing (error 404) in event list’ is closed to new replies.