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
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.
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
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
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 1 year, 2 months ago by
Alan Fuller.
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)
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
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 1 year, 2 months ago by
Alan Fuller.
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…
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 1 year, 2 months ago by
Alan Fuller.