Support » Plugin: AM Events » I can't changing slug error 404

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Atte Moisio

    (@moisture)

    Hi,

    Do you mean the general slug for event posts? Have you tried reapplying your permalinks after changing the slug? Just go to Settings -> Permalinks and press Save Changes.

    Thank you for answer.

    I have a one question///

    how to get startDate & endDate to my website

    thank you so much

    $startTimestamp = strtotime(get_post_meta($postId, ‘am_startdate’, true));
    $endTimestamp = strtotime(get_post_meta($postId, ‘am_enddate’, true));

    I found it
    Thank you for best Event Post Type Plugin

    Plugin Author Atte Moisio

    (@moisture)

    Good to know you found a solution 🙂

    Just to let you know the plugin comes with ready made template tags for exactly that purpose. For a full list see Template tags under Other Notes.

    Here are the ones for getting event dates:

    am_get_the_startdate( $format = 'Y-m-d H:i:s', $post = 0 )
    am_get_the_enddate( $format = 'Y-m-d H:i:s', $post = 0 )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I can't changing slug error 404’ is closed to new replies.