[resolved] PHP Syntax (2 posts)

  1. arcater
    Posted 8 years ago #

    I know pretty much nothing with php...

    I am using a plugin (Get Custom Field Values)which calls a function: c2c_get_custom
    I want to include the other wordpress functions the_title & the_permalink but am not sure how.

    Here is my best stab at it, which does not work. I hope you can see what I am trying to to. I think my syntax is not correct. Not sure how to use variables within another function like this.


        echo c2c_get_custom('thumbnail', '<a href="$myLink"><img align="left" title="$mytitle" alt="$mytitle" border="2" src="http://mysite.com/img/small/', '"></a>', 'blank');
  2. arcater
    Posted 8 years ago #

    I figured it out my self. That plugin was just way to confusing and after looking at get_post_meta I don't even need it.

Topic Closed

This topic has been closed to new replies.

About this Topic