Support » Plugins and Hacks » Custom permalinks with EG-Series

Custom permalinks with EG-Series

  • First of all, thanks for this plugin. I’ve used other series plugins, like Series and Organize Series, and I’m sure EG-Series is by far the best in terms of cost-efficiency.

    I want to use your plugin in a project of school magazine based on series. Please look at http://centros.educacion.navarra.es/devcursos/revista2/. Until now, this website uses Justin Tadlock’s Series plugin, with a little change in the permalink of each magazine issue. For example, http://centros.educacion.navarra.es/devcursos/revista2/numero/numero-3/, with “numero” (‘issue’) instead of the original “series”.

    With Justin Tadlock’ Series plugins this is very easy to achieve, by changing line 86 of the series.php file:

    from array( 'slug' => 'series' ) );

    to array( 'slug' => 'numero' ) );

    I would like to get a similar result with EG-Series, but its code is much more complicated and my PHP skills are very limited. Any idea?

    Thanks in advance.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author emmanuelg



    Two ways to do that

    First way:
    In the file eg-series.php, line 36, you can replace define('EGS_TAXONOMY','series'); by define('EGS_TAXONOMY','numero');
    It will replace series by numero everywhere (except some labels).

    Second way:
    In the file inc/eg-series-core.php, line 107, you can replace array( 'slug' => EGS_TAXONOMY ) by array( 'slug' => 'numero')

    Just proceed with only one of these changes, and it should work.


    I have chosen the second alternative, Emmanuel. Works like a charm (but for the moment not in the site mentioned in my first post, bacause I have to make some additional tests).

    Thank you, thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom permalinks with EG-Series’ is closed to new replies.