Slugs, Categories and Directory Structure
-
Greetings, again with issues.
In order to put some ordering in categories i stumbled upon a post which customized the advert text on the url but, i feel like i’m short on this.https://github.com/simpliko/wpadverts-snippets/blob/master/custom-slugs/custom-slugs.php
Since i’m implementing a couple of things mentioned on other entries i have done, i am setting pages and sub pages with their short codes like:
mydevelopment.site/category/subcategory
And as soon as i get into the ad the url becomes
mydevelopment.site/listing/the-posted-ad
where listing is the result of the code of the custom slugs of that snippet.Should I add a page in order that the ad gets displayed into the pages structure or i might tweak that Snippet?
—
By the way, when i set those custom strings at the slug when i want to see the ad, it goes blank, did i missed a step afterwards?
—Thanks in advance
PS: Offtopic quick question: This link information
https://wpadverts.com/documentation/custom-fields/Requires the paid Custom Fields Add on, or this info allows me to set them without it since my current need is basically Checkboxes and an additional text area?
- The topic ‘Slugs, Categories and Directory Structure’ is closed to new replies.