Archive – Show Video from First Post

I have created a working solution to this. I wrapped the JavaScript in a DIV. All other content is automatically wrapped in paragraph tags. In archive.php, I have it pull the most recent post in the section where I want the video. In the CSS, I have set display:none to the paragraph tags. Thanks everyone!

Display Day names with wp_get_archives instead of date

There are no arguments you can pass to do this, and no obvious filters. However, if you dig through the source you will see: 1426 if ( ! $archive_date_format_over_ride ) { 1427 $archive_day_date_format = get_option( ‘date_format’ ); 1428 $archive_week_start_date_format = get_option( ‘date_format’ ); 1429 $archive_week_end_date_format = get_option( ‘date_format’ ); 1430 } That value is used … Read more

Archives widget doesn’t work?

You most probably have a plugin that either uses query_posts, are have a bad filter and/or query that is altering the the main query object ($wp_query) as you have this issue across all themes that you have tested. You should deactivate your plugins one by one and check which one/s are causing the issue. Also, … Read more

What’s wrong with default posts archive?

The ‘All Posts’ archive is a Blog. You choose a Blog page in Settings > Reading > Front page displays. It can either be the front page or another page. The template that page uses depends on what templates your theme has and the Template Hierarchy. home.php or index.php will likely be the template you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)