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.

Comic Easel
bug when translating custom post slug with wpml (2 posts)

  1. andamira
    Posted 3 years ago #


    I found a bug when trying to translate the custom slug with wpml. One of their developers found a fix that basically re-registers your custom post type via functions.php. Could you take a look at that and see if it's something you can fix or not?

    All the info is accesible in here:


    thank you very much!


  2. Frumph
    Plugin Author

    Posted 3 years ago #

    .. It's not that easy to swap between slugs between languages as you think it would be with wpml

    the problem will be that you can 'change' the slug in the comic->config so that it's not necessarily a static thing.

    I can add this to the comiceasel.php file:

    'custom_post_type_slug_name' => __('comic','comiceasel'),

    which denotes that the 'default' is modifiable; .. but then it is taken as a variable to be used as the slug and I don't think any translator can touch it at that point..

    changing the slug too will wreak havok, because after the slug is changed you need to redo the rewrite rules each and every page load and that is phenomenally a bad idea

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comic Easel
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic