Completed

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',

array(

'taxonomy' => 'listing_category',

'field' => 'slug',

'terms' => $matches[1],

),

array(

'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"

Skills: WordPress, PHP, MySQL, HTML, JavaScript

See more: 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

About the Employer:
( 60 reviews ) Rosslare Harbour, Ireland

Project ID: #32212472

Awarded to:

evgendob

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 More

€30 EUR in 1 day
(642 Reviews)
8.2

17 freelancers are bidding on average €32 for this job

bestworkontime9

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 More

€100 EUR in 2 days
(635 Reviews)
8.5
(403 Reviews)
7.7
mascotindia123

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, More

€45 EUR in 2 days
(302 Reviews)
7.7
smilemittal181

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 More

€50 EUR in 2 days
(233 Reviews)
7.4
deepgrewal9699

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 in 1 day
(294 Reviews)
6.9
(165 Reviews)
6.7
shoaybs

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 More

€30 EUR in 70 days
(20 Reviews)
5.7
(45 Reviews)
5.8
(65 Reviews)
5.2
gagandeeps416

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 in 1 day
(30 Reviews)
4.7
usamaakhann

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 More

€19 EUR in 7 days
(9 Reviews)
2.9
mohammadfaisald8

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 More

€25 EUR in 7 days
(4 Reviews)
2.5
balirkprogrammva

✔️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 More

€20 EUR in 1 day
(3 Reviews)
2.4
danishtechnget

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 More

€8 EUR in 7 days
(3 Reviews)
2.1
graffersid

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 More

€30 EUR in 4 days
(0 Reviews)
0.0
qazidgm

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 More

€19 EUR in 7 days
(0 Reviews)
0.0