Jump to content

Wordpress + Magic Fields plugin - Wrapping a field within an href tag


calivw78

Recommended Posts

I've been posting at the support forums for the Magic Fields plugin, but have not had much luck. The Magic Fields plugin for Wordpress let's users create custom fields that can be displayed in a page template. What I am trying to do, is wrap the contents of a field in an href tag, to make it clickable.

 

Here is how the data is currently retrieved and displayed in the page template:

<?php echo get('field-name'); ?>

 

What I would like to do, is wrap the content of "field-name" in an href tag so it may be clickable. Anyone have any thoughts?

 

Thanks in advance...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.