This topic has 16 replies, 4 voices, and was last updated 9 years, 6 months ago by Fem.
Tagged: pests
Viewing 17 posts - 1 through 17 (of 17 total)
Hi, I have the same question. I need change: http://factorambiente.com/pest/plagas-de-cucarachas/ for http://factorambiente.com/plagas-insectos/plagas-de-cucarachas.
Thanks!
really http://factorambiente.com/*(pest category name)*/*(pest name)*
@Eescolar: Slug for the pest post type is not there at present so we have added a new option for the pest slug and kindly replace the given attached 2 files by following the correct path
plugins/anona-core/anona-posttypes/post-types/pest.php file and
themes/anona/pest-control/additional-themeoptions.php file.
Ok, now it works.
But I need http://www.domain-namecom/%5Bpest-category%5D/%5Bpest%5D
with this change I have http://www.domain-name.com/pest(or plaga)*/[pest]
*but always the same word, don’t change when I select another pest.
For categories, you can follow this url https://codex.wordpress.org/Using_Permalinks#Using_.25category.25_with_multiple_categories_on_a_post and customize according to your requirements.
I did this before, but anona don’t respect the /%category%/%postname% for the permalink, the theme overwrite the category with “pest” or a custom word with the update u sent me yesterday. I need that pest section respect the default /%category%/%postname%.
It’s not possible to use the category for the custom post types, you need to use a custom plugin for doing so. Kindly please use the plugin to do so and let know if that works https://wordpress.org/plugins/wp-category-permalink/
Kindly follow this,
First thing you need to do is install and activate the https://wordpress.org/plugins/custom-post-type-permalinks/ plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit Settings » Permalinks page and scroll down to ‘Permalink Settings for Custom Post Types’ section After that in the field pest edit the tag
/%postname%/
and replace with
/%pest_category%/%postname%/
Viewing 17 posts - 1 through 17 (of 17 total)
You must be logged in to reply to this topic.