name__like statement for numbers
-
Hi,
I’m attempting to print out my tags, one letter on each page I created. I’m using the name__like function and it works great. For example, for tags starting with the letter A, I’m suing
$tags = get_tags( array('name__like' => "a", 'order' => 'ASC') );However, I can’t figure out how to print tags that start with a number. I’ve tried wrapping the numbers in single quotes, double quotes, or statements but it only seems to give me the first number I enter. I need it to print out tags starting with the numbers 1 through 9. Any thoughts on how to accomplish this?
Thanks,
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘name__like statement for numbers’ is closed to new replies.