Could use custom fields for that.
In your loop you could use something like:
$link = get_post_meta($post->ID, 'link_url', true);
$text = get_post_meta($post->ID, 'link_text', true);
if ($link){
echo 'Credit: <a href="'.$link .'">'.$text.'</a>';
}
See: Custom Fields
Basically, i have a page which shows excerpt and a video in a lightbox if a post has one. What i wanna do is that the user if puts a video url inside certain tags such as <vd></vd> the url gets saved and in the Loop the url gets pasted in the so that the lightbox picks it up !!
I am new so if you could help me a bit.
Thanking in Advance
-Mutahhar Mustafa
You might want to look at using shortcodes for that.
Category:Shortcodes
Sorry for this, but i have done some research, i want if someone can explain the process a bit. I did see the short codes but couldn’t figure it out !!
Don’t know if I can offer much more than those Codex articles.