Question
Problem specification I'm implementing a website that is meant to host podcast shownotes and transcripts, and so I want custom permalinks and shortlinks for the webpages: Permalinks of the form /podcasts/<episode_number>/<episode_title>, e.g. /podcasts/12/news-for-august Shortlinks of the form /<episode_number> that redirect to the permalink, ...
0
, , , , 3 months 0 Answers 48 views

Question
I'm using CPT-UI to create my custom post types and taxonomies. I have two post types - aulocations and uklocations these work and show up as: /au/locations/{location-names} /uk/locations/{location-names} Next: these post types share a common taxonomy called 'events' I'd like urls to display as: au/events/{event-name} uk/events/{event-name} these ...
0
, , , 3 months 0 Answers 42 views

Question
I have custom taxonomy in place which builds URL that way: domain/course/course-name/lesson Course - is a custom post type. I am facing difficulty to reach the right template for lessons. I've tried "page-course.php" but it doesn't work. How should I call template for lessons?
0
, 3 months 0 Answers 38 views

Question
I am want to exclude my newsletter images from Cloudflare's hotlink protection Based on Cloudflare's documentation, it is possible to do this with serving the image from a "hotlink-ok" directory: https://support.cloudflare.com/hc/en-us/articles/200170026-Understanding-Cloudflare-Hotlink-Protection Because I serve the images dynamically, my first thought was ...
0
, , , 3 months 0 Answers 38 views

Question
I'm trying to get a custom rewrite working: I've got the following URL pattern for a custom post type of 'product': /au/product/product-name-one/?type=customtype1 /au/product/product-name-one/?type=customtype2 i'm trying to rewrite to: /au/product/product-name-one/customtype /au/product/product-name-one/customtype2 == Here's what I've tried so far: add_filter( 'query_vars', 'wp_query_vars' ); function wp_query_vars( $query_vars ){ $query_vars[] = ...
0
, , 3 months 0 Answers 36 views