Quantcast
Channel: If tag equals then show else show - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Pieter Goosen for If tag equals then show else show

Look at has_tag(). It seems that is what you are looking forYou can use it like followif( has_tag( 'NAME OF TAG' ) ) { // do something if has tag}else{ // do something else if not have tag}

View Article



If tag equals then show else show

In my WordPress I have a page template called: single_jobs.phpIn the template is shown a contact formular. Linked in the template file like this: <?php echo do_shortcode( '[contact-form-7 id="207"]'...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images