0
votes
0answers
12 views

wp_customizer control default value = 100 - control value

Within WP_Customizer I have two controls for setting the width of the main-column and the width of the sidebar. The default value of the main-column control is 77 and I'd like to set the default ...
0
votes
2answers
778 views

Show default content if custom WP_Query has no posts

I have a custom loop to show posts that meet a certain set of $args like this: <?php $recent = new WP_Query( $orderargs ); while($recent->have_posts()) : ...
3
votes
3answers
3k views

How to fix a theme with page.php Default Template that accidentally deleted?

I am having a quite odd case with WP today, and after spending about an hour searching on google and forums, can't find any answers. I hope posting here might allow me some chance to get help from ...