2
Use WHERE meta_key = 'ticker' OR meta_key = 'ticker2'
1
HTTP headers are different than the HTML head. The meta tag you're looking to add (for the Twitter card) is actually a meta tag that gets place in the HTML head.
So to achieve exactly what you're looking to do from a PHP "functions" file, you'd want to hook into wp_head instead. Like this:
add_action('wp_head', function(){
echo '<meta name=&...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
php × 9472functions × 1510
plugins × 1084
plugin-development × 653
woocommerce-offtopic × 570
custom-post-types × 453
javascript × 449
ajax × 430
theme-development × 407
loop × 390
customization × 380
posts × 363
jquery × 352
wp-query × 345
html × 344
mysql × 337
shortcode × 321
css × 297
categories × 287
custom-field × 253
database × 236
menus × 208
themes × 205
images × 202
filters × 198