URL of blog when using index.php as blog and front-page.php as homepage
Follow instruction for Creating a Static Front Page in Codex. The URL of your blog posts index will be derived from a page you use for “posts page”.
Follow instruction for Creating a Static Front Page in Codex. The URL of your blog posts index will be derived from a page you use for “posts page”.
The code you posted is broken but what you are looking at– that “twentythirteen”– is a “text domain” which is used for theme translation. The text domain is a kind of “Key” for locating the right translation data. That is, the first part, ‘Edit’ for example, will be translated based on the “twentythirteen” translation strings. … Read more
delete custom post type using a submit form
Using pagination with specific custom post type [duplicate]
Not sure why this works, where the other query was failing. I’m not sure if it’s a bug that others are experiencing or not. Anytime I included any category “inclusive” arg, it broke my meta_query, but it didn’t seem to if i was “excluding” categories. So,…making an array of all category ids, then unsetting the … Read more
Retina for WordPress Posts
After more digging, I finally stumbled across what I was looking for. Using the template_include filter is working for me. Plugin Templating within WordPress
Modify the siderbar footer
Yes you can put custom date by editing the published on date on the top right of the post/page edit. See the image attached for better understanding.
We can use wp_enqueue_scripts action to hook js. If it is inside theme folder then, <?php function my_scripts_method() { wp_enqueue_script( ‘custom-script’, get_stylesheet_directory_uri() . ‘/js/custom_script.js’, array( ‘jquery’ ) ); } add_action( ‘wp_enqueue_scripts’, ‘my_scripts_method’ ); ?> // If it’s for plugin,If it’s for plugin, //use plugins_url( ‘/js/newscript.js’ , __FILE__ ) as path. For ref wp_enqueue_script