Lengkap

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"

Kemahiran: Wordpress, PHP, MySQL, HTML, JavaScript

Lihat lagi: 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

Tentang Majikan:
( 60 ulasan ) Rosslare Harbour, Ireland

ID Projek: #32212472

Dianugerahkan kepada:

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 Lagi

€30 EUR dalam sehari
(642 Ulasan)
8.2

17 pekerja bebas membida secara purata €32 untuk pekerjaan ini

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 Lagi

€100 EUR dalam 2 hari
(635 Ulasan)
8.5
(403 Ulasan)
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, Lagi

€45 EUR dalam 2 hari
(302 Ulasan)
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 Lagi

€50 EUR dalam 2 hari
(233 Ulasan)
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 dalam sehari
(294 Ulasan)
6.9
(165 Ulasan)
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 Lagi

€30 EUR dalam 70 hari
(20 Ulasan)
5.7
(45 Ulasan)
5.8
(65 Ulasan)
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 dalam sehari
(30 Ulasan)
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 Lagi

€19 EUR dalam 7 hari
(9 Ulasan)
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 Lagi

€25 EUR dalam 7 hari
(4 Ulasan)
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 Lagi

€20 EUR dalam sehari
(3 Ulasan)
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 Lagi

€8 EUR dalam 7 hari
(3 Ulasan)
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 Lagi

€30 EUR dalam 4 hari
(0 Ulasan)
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 Lagi

€19 EUR dalam 7 hari
(0 Ulasan)
0.0