Wordpress loop
How to order by multiple fields using standard query_posts?
In our archive.php we show all the items which match our selected category. This works absolutely fine. Then we improved it by adding (just before
show latest authors blog post
how do you display the latest authors blog post? I have the below code: <?php $author = get_the_author(); $args = array( 'numberposts' => '1', 'author'=>$author
change the number of posts on the frontpage depending on screen width
My frontage currently runs a secondary loop at the bottom of the page that shows 4 posts of a certain category. But I would like
Change get_posts to loop.php suitable version
I did’t know that get_posts don’t work with loop.php. I already have this great loop.php file and I want to use it. I created this
Display most viewed post from last 30 days is not working correctly
I’ve try several different loop to display the most viewed post from the last 30 days . . However its just showing the post from
WordPress loop inside a page template
I found many similar questions but I’m still in trouble. The point is very simple: I need to retrieve all posts(exactly of post type ‘post’)
Query show/hide current post in archive page
I’m having lot of headache with that since a couple fo days . . . I explain my situation: I’d like to show/hide the_content on
Cannot reset a loop in a plugin template
I am trying to override a query in a loop which exists in other plugin. I created an extension to override that loop using a
WP_Query loop else statement not executing
I have two WP_query loops in my frontpage.php file: <div id="aanbod"> <div class="container-fluid section-name-cont"> <div class="container"> <div class="row"> <div class="col-xs-12 section-name"><h1>Aanbod</h1></div> </div> </div> </div> <?php
Custom search engine optimization
I am creating a search engine that receives, via POST, the information on a form containing several checkbox. See below that there are several sequences
Sorting posts to make those with post thumbnail show up first
I am trying to sort post with If have post thumbnail list posts then by title. $args = array( 'post_type' => 'post', 'meta_key' => '_thumbnail_id
Can’t get pagination to word on attachment query
I’ve been working on a wordpress site, and I’m trying to build a page where visitors can see all of the images that have been
How create checkbox form for filter product woocommerce
friends. I need a form where there will be categories and subcategories in the checkbox. The search result can be varied according to the pattern:
how do I display individual posts in the featured area
Hi I am new to theme development and am building a wordpress featured area that looks kinda like the verge/ polygon etc… The problem is
Hiding carousel indicators if there’s only one post
I am working on a custom carousel (WordPress + Bootstrap). The carousel is working without problems. However, I would like to hide Bootstrap carousel indicators
Does not show thumbnail in a given category
good afternoon ! I am creating a loop with two formats for posting , one is the default post and the other is a video