Wordpress - Figure out how to display "MetaTitle & MetaDescription" and how to customise the display of wp_query result page

I recently created a custom plugin to show archive page of combination of 2 custom taxonomies using wp_query. This also creates a specific url to display the results loop. Here is the main part of the function, but i have attached the full plugin:

$wp_query = new WP_Query([

'post_type' => 'listing',

'paged' => $paged,

'tax_query' => array(

'relation' => 'AND',


'taxonomy' => 'listing_category',

'field' => 'slug',

'terms' => $matches[1],



'taxonomy' => 'region',

'field' => 'slug',

'terms' => $matches[2],




Part 1 of requirements: The results page displays fine, but for some reason is showing as a 404 page in the meta title and meta data. I want to show meta data based on the combined taxonomy results, e.g. if the results page is for hotels & london, then we have metatitle of "Hotels in London"

Part 2 of requirements: I also want to display some text at the top of the results page, for example in <h1> tag. e.g "Hotels in London"

Part 3: If the result is empty, i would like to show a custom message on the page, e.g. "there are no hotels in london, sorry"

Taidot: WordPress, PHP, MySQL, HTML, JavaScript

Näytä lisää: input form database query result view, perl crontab mysql query result email, perl mysql query result email, setting decimal places query result oracle, sendmail mysql query result, shell script send query result email, vsto application pivot table fields query result, simple search query result mysql, hired specific date query result mysql, export query result set csv shell script, wordpress custom query next page, display table sql query result joomla, excel macro parse web query result, export mysql query result pdf php programming, mysql query result csv perl script, php query result, php query result excel, php write query result excel file, python query result, sphinx query result php

Tietoa työnantajasta:
( 60 arvostelua ) Rosslare Harbour, Ireland

Projektin tunnus: #32212472

Myönnetty käyttäjälle:


Hello. WordPress development expert ready to help you with a project. I have more than 400 good reviews and more than 9 years of development experience behind, so all job will be done with the best quality and timefram Lisää

€30 EUR 1 päivässä
(642 Arvostelua)

17 freelanceria on tarjonnut keskimäärin €32 tähän työhön


Hello, I have 5+ years of experience in Wordpress-Woocommerce Customization. I can do any type of customization work in it and multiple other plugins as well. I have done a lot of big customizations in a lot of site Lisää

€100 EUR 2 päivässä
(635 arvostelua)
(403 arvostelua)

Hello, I have read your job description and assure you that I am a perfect fit for the job. I am a senior Web Programmer, having vast and proven experience in 8+ years experience of PHP, WORDPRESS, MYSQL, JAVASCRIPT, Lisää

€45 EUR 2 päivässä
(302 arvostelua)

Hello, I have reviewed your project description carefully and understood your requirement. I am a Wordpress plugin and API developer. I have 6+ years of experience in creating/customizing Wordpress plugins, themes, and Lisää

€50 EUR 2 päivässä
(233 arvostelua)

Hello Sir I can make the changes as listed and deliver this in next 24 hours at max. I am ready to start right away. Please check my profile for work and experience. Regards Deep

€30 EUR 1 päivässä
(294 arvostelua)
(165 arvostelua)

Hi ★NO UPFRONT PAYMENT REQUIRED★ I have checked your project Wordpress - Figure out how to display "MetaTitle & MetaDescription" and how to customise the display of wp_query result page, before I give estimation le Lisää

€30 EUR 70 päivässä
(20 arvostelua)
(45 arvostelua)
(65 arvostelua)

Hello I have read your job details and understood the issue you are having. Please git in touch i will start work right now and can fix the plugin in next 2-3 hrs. Thanks

€50 EUR 1 päivässä
(30 arvostelua)

Dear, I have read your project description. I have done similar projects in past and I can do your work. Please come to private chat to discuss in detail. I am a Professional Web Developer and Designer with 5+ years Lisää

€19 EUR 7 päivässä
(9 arvostelua)

Hello, I figured out that you are looking for a Web developer expert, So let me tell you that you have reached the perfect person for this position. I have 8 years of experience in Development and Designing. I have bu Lisää

€25 EUR 7 päivässä
(4 arvostelua)

✔️Hello★★★ I am masterd in php and jquery ajax,html,my sql database as EXPERT ★★★ We are confident that your project will be completed [login to view URL] of our working is to fully reflect the requirements for your pr Lisää

€20 EUR 1 päivässä
(3 arvostelua)

Hello, I have read your project description . I am an expert in WordPress I have 8-year experience in this field. I am new on this platform but top rated on other platforms so i will charge less and work more. Thank y Lisää

€8 EUR 7 päivässä
(3 arvostelua)

Hello Hope you are doing well! I have reviewed your project requirements very carefully and have a few questions related to your project want to ask through chat. I’m an Expert Coder having 5+ years of experience wi Lisää

€30 EUR 4 päivässä
(0 arvostelua)

Hey ? I just found your job and it sounds like you could use my help developing a responsive WordPress website. I would be confident in delivering this for you. A little bit about me, I was previously a Lead Web Deve Lisää

€19 EUR 7 päivässä
(0 arvostelua)