Support » Plugins » PHP Syntax

  • Resolved arcater


    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="', '"></a>', 'blank');

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Syntax’ is closed to new replies.