Template problems and slug
-
Hi:
I think the plugin is great, but I haven’t been able to use it properly in my template. I took a look at the plugin templates and I haven’t, by the life of me, got to print the Category of the post (it should be on top, next to the date). Like here: https://web2014.cincuentamas.com/locations/barrio-brasil/
On the Archive template, in the other hand, it just embeds a map UNDER the posts; I don’t know how to print it above the posts container. Like here: https://web2014.cincuentamas.com/location-categories/aire-libre/
And, the latter, I can’t modify the slug for the places posts, even though I applied this code someone posted before, but haven’t been able to make it work either.
function custom_map_rewrite($args) { $args['rewrite']['slug'] = 'lugares'; return $args; } add_filter( 'stlr_place-post_type_args', 'custom_map_rewrite' );
Thanks for your help!
- The topic ‘Template problems and slug’ is closed to new replies.