WordPress Set A Static Page/Template For All Sub-Pages

Okay so I have resolved this by combining several different wordpress functionalities: Catches the template include conditionally add_filter( ‘template_include’, ‘…’ );, in my case based on a regex match of the expected URI pattern locate_template(‘example-template.php’) to then resolve my (essentially) static template A query within my example-template.php that externally retrieves the resource This must handle … Read more

making urls clickable for wordpress custom post type field?

put this in your functions.php: function my_format_artist_links($urls) { $urls = explode(‘,’, $urls); $links = array(); foreach ($urls as $url) { if (empty($url)) continue; $links[] = ‘<a href=”http://’.$url.'”>’.$url.'</a>’; } return implode(‘,’, $links); } and then replace <p><span>Link(s):</span> <?=$artist_links?></p> with <p><span>Link(s):</span> <?php echo my_format_artists_links($artist_links); ?></p>’