IT Nursery
Good morning. I am trying to query various WordPress pages, using public query variables, for example http://dmkim1979.ru/?p=37 // single post http://dmkim1979.ru/?page_id=40 // single page But I don’t understand how...
  • May 1, 2022
  • 0 Comments
IT Nursery
I have a wordpress installation and I need this query on every post: select post_id, meta_key from wp_postmeta where meta_key = 'mykey' and meta_value="somevalue" I have 3M rows on...
  • April 30, 2022
  • 0 Comments
IT Nursery
i’m working with search queries in wordpress and i’ve noticed that in the original queries terms are between curly brackets and numbers … like this : wp_posts.post_title LIKE '{30d0e4b86a2a793010a75740f60810aff6b57f6d18edc10be7ca6dc158e40c06}11{30d0e4b86a2a793010a75740f60810aff6b57f6d18edc10be7ca6dc158e40c06}'...
  • April 30, 2022
  • 0 Comments
IT Nursery
I am trying to link out from the WP admin to view posts in a specific way. The url structure for this is example.com/post123/?my-preview=456 /post123/ is the regular permalink...
  • April 30, 2022
  • 0 Comments
IT Nursery
Currently, the posts of my website are ordered alphabetically by title: /* Order Posts Alphabetically */ function prefix_modify_query_order( $query ) { if ( is_main_query() ) { $query->set( 'orderby', 'title'...
  • April 29, 2022
  • 0 Comments
IT Nursery
I’d like to set up a custom search page that does the following: User checks off several items in a form that he’d like to see returned in his...
  • April 29, 2022
  • 0 Comments
IT Nursery
I want to get Terms by IDs with IDs order. But that doesn’t working, WP automatically change the order. My code- $catsArray = array(159, 155, 143, 153, ......); $series...
  • April 29, 2022
  • 0 Comments