Alternatives to archive.php
Alternatives to archive.php
Alternatives to archive.php
Have a look at http://wordpress.org/extend/plugins/simple-yearly-archive/ Or if you want to code it yourself have a look at wp_get_archives http://codex.wordpress.org/Function_Reference/wp_get_archives
Generally this is a plugin that causes this. Best way is to disable them one by one. Maybe the plugin has a template which is overriding it.
So I thought it wouldn’t be a bad idea to use this same function for all of my external widgets. (am I wrong here???) If you are comfortable looking at PHP code to get the argument list of each widget, if you are trying to make it more difficult for you (or other admins) to … Read more
wp_get_archive for category returning different URLs on different but similar sites
wp_get_archives(); Change output of link
I just coded a workaround solution for this issue, if anyone is interested here is my solution: This solution is using the Bootstrap Navs Option , so you need first to download Bootstrap and link it in your header or index file. Please read the comments in the below code carefully to can understanding what … Read more
How to arrange different post categories in template
How to count the number of monthly archive?
wp_get_archives() can not display post date, but you can force wp_get_archives to display date by using hook. Put the following function at the end of your custom template file or functions.php file – function wpse_the_title($title, $id){ if( $date = get_the_date(‘d/m/Y’, $id) ){ $title = sprintf(‘%s – %s’, $date, $title); } return $title; } Replace with … Read more