[Bug] Permalinks does not work in Events List
-
There is a bug in the
public function list_events()
.I’ve set permalinks to
/%postname%/
. But URLs created by[events_list]
has URL parameters?p=1
,?page_id=21
and?post_type=events&p=33
instead of permalinks.I’ve found that changing the
elseif
expression near line #955 in theeventpost.php
file fixes the issue.Before:
elseif(empty($ob->permalink)){ $event->permalink=$event->guid; }
after:
elseif(empty($event->permalink)){ $event->permalink=$event->guid; }
Please fix this issue in the next version.
—
WordPress 4.7.3
Event Post 4.5.1
- The topic ‘[Bug] Permalinks does not work in Events List’ is closed to new replies.