The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

All-in-One Event Calendar
aio calendar an %postname% (6 posts)

  1. stephane LP
    Posted 4 years ago #

    Hello ,

    1) Is it possible to URL rewriting the link ??
    this :http://www.xxxx.com/ai1ec_event/conseil-dadministration-fevrier-2012/?instance_id=16

    2) traduction :
    week ==> semaine in french
    Week of février 13 ==> semaine du 13 février (in french)

    Very good plugin ;-)
    Best regards


  2. Yani Iliev
    Plugin Contributor

    Posted 4 years ago #

    It is possible.
    You will have to play with the rewrite string located in: app/helper/class-ai1ec-app-helper.php
    Line 178
    Additional information can be found here: http://codex.wordpress.org/Function_Reference/register_post_type

  3. stephane LP
    Posted 4 years ago #

    HEllo ,

    1- Ok thanks but I dont understand because in line 178 rewrite is "true".

    so the rwrite rule must works no ?

    2- For traduction in french I found !
    in differents files on differents directory

  4. Yani Iliev
    Plugin Contributor

    Posted 4 years ago #

    1 - You will need to change the true in rewrite with something from the url I sent you:
    Default: true and use post type as slug
    $args array
    'slug' - prepend posts with this slug - defaults to $post_type - use array( 'slug' => $slug ) to customize permastruct
    'with_front' - allowing permalinks to be prepended with front base (example: if your permalink structure is /blog/, then your links will be: false->/news/, true->/blog/news/) - defaults to true

    2 - Translation files are in languages folder

  5. brettatkin
    Posted 4 years ago #

    I tried your suggestion and it works for event detail pages but it breaks the main events page. Here is an example:



    Any ideas?



  6. sedicinoni
    Posted 4 years ago #


    As brettatkin said, setting up the rewrite array as you suggested works in calendar page, but once entering the details of the event, the wordpress engine doesn't "pinpoint" the new slug to the ai1ec_event post type.

    I've also tried to change the AI1EC_POST_TYPE, setting it as the same of the rewrite slug, with no luck.

    Do you have any extra suggestion?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic