Skip to content

Instantly share code, notes, and snippets.

@seiyamaeda seiyamaeda/hoge.php
Created Aug 14, 2018

Embed
What would you like to do?
Extract some code, Specific post tag, WordPress
<?php $posttags = get_the_tags(); if ($posttags) { $key = array_search($posttags, 'TAG_NAME'); $posttags[$key]; ?>
<!-- something do -->
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.