Fermé

page template filter by dynamic taxonomy term (genesis FW)

I am looking to edit my page template taxonomy term filter for my custom posts to filter by the current page title rather than a static term.

at the moment I have the following on my [url removed, login to view]:

add_action('genesis_loop', 'equipment_loop');

function equipment_loop() {

$loop = new WP_Query( array( 'post_type' => 'equipment',

'taxonomy' => 'product category',

'term' => 'sound',

'posts_per_page' => 200

) );

?>

I would like to have 'term' => 'sound', dynamically pull the current page title and use it as the filter term.

Compétences : PHP, WordPress

Voir plus : c template function, array template, genesis taxonomy term, term and use, taxonomy, filter, title page template, filter posts category wordpress, wordpress page looking, posts page, wordpress product page template, wordpress page static, static page php, php static page, taxonomy wordpress, product category wordpress, sound equipment, custom loop, custom page template wordpress, dynamic static, wordpress category page template, custom wordpress category page, wordpress category template, dynamic 2012, wordpress custom taxonomy

Concernant l'employeur :
( 1 commentaire ) Edinburgh, United Kingdom

N° du projet : #1652670

6 freelance ont fait une offre moyenne de 198 £ pour ce travail

violetzs

Sure that can help you. ready to working

185 £ GBP en 3 jours
(92 Commentaires)
6.5
madhavdutta

Hi, I am a Wordpress expert having more than 10 years of experience on various technologies with many big corporate and a track record of 100% project completion. I have worked with more than 60 clients spread acros Plus

225 £ GBP en 6 jours
(43 Commentaires)
6.4
hunter86tuan

Please check your PMB.

250 £ GBP en 15 jours
(1 Commentaire)
3.7
williamjattin

I can do it today.

75 £ GBP en 1 jour
(0 Commentaires)
0.0
Nehemiahsales

PLEASE CHECK PMB

200 £ GBP en 3 jours
(0 Commentaires)
0.0
VC6fJM91x

Custom software development - <b><i>Removed by Admin</i></b>

250 £ GBP en 1 jour
(0 Commentaires)
0.0