Hello guys,
Maybe someone can help me...
I have this line in my theme:
And I need to add this code:
CODE1
CODE2
To appear like this:
Question1:
Is the code2 well placed? I added '.get_post_meta($post->ID, 'titletag', true).'
Question2:
How can I add code1? I think will not work with '.nofollow_tag.' right?
Can someone please help me?
Thanks!!
Maybe someone can help me...
I have this line in my theme:
PHP:
<?php echo $post_external_link = (get_post_meta(get_the_ID(),'post_external_link',true))?'<a href="'.get_post_meta(get_the_ID(),'post_external_link',true).'">Click here to visit website</a>':'#'; ?>
And I need to add this code:
CODE1
PHP:
<?php echo $nofollow_tag; ?>
CODE2
PHP:
<?php echo get_post_meta($post->ID, 'titletag', true); ?>
To appear like this:
<?php echo $post_external_link = (get_post_meta(get_the_ID(),'post_external_link',true))?'<a href="'.get_post_meta(get_the_ID(),'post_external_link',true).'" '.get_post_meta($post->ID, 'titletag', true).' CODE1>Click here to visit website</a>':'#'; ?>
Question1:
Is the code2 well placed? I added '.get_post_meta($post->ID, 'titletag', true).'
Question2:
How can I add code1? I think will not work with '.nofollow_tag.' right?
Can someone please help me?
Thanks!!
Last edited: