WordPress editable template fields

Custom fields can accomplish what you’re trying to do. http://codex.wordpress.org/Custom_Fields You define the custom key and values in an edit page, and then you can re-use them in other edit pages. Once defined, you need to display the custom fields in your template(s). The documentation isn’t super clear, but if your key was “currently_reading”, your … Read more

Display Password Protected external RSS in wordpress template

I assume you mean fetching an external feed with an HTTP authentication. Fetching feeds with HTTP Authentication Note that fetch_rss() uses the MagPie library, that’s deprecated in WordPress. Use instead fetch_feed() that uses the SimplePie library. It looks though it doesn’t support this kind of url: http://user:[email protected]/feed/ like we can use with curl in command-line, … Read more

Child theme Page Template not loading

I fixed the problem by adding my parent’s index,page, and header.php to my child theme’s folder. If you’re not able to change the blog page template. Remove the page from the Settings > Reading, change the template and select your blog post again.

How to change plugin`s template (view) correctly?

Here is a little code snippet to get you started. This will query through the most recent custom post types named “custom_post_type”. Change this value to the name of the custom post you wish to query. <?php $args = array( ‘post_type’ => ‘custom_post_type’, // <– make sure to use the name of your custom post … Read more