Skip to main content
10 events
when toggle format what by license comment
Jul 5, 2013 at 23:43 comment added s_ha_dum You would concatenate it something like this: $text_excerpt = $text_excerpt.' some content '.$avariable.' more content'; or $text_excerpt .= ' some content '.$avariable.' more content'; I don't know if there is enough information to answer this second question in much detail.
Jul 5, 2013 at 23:40 comment added Dannyw24 I know this is another question, but How would I append my metabox field data onto $text_excerpt?
Jul 5, 2013 at 23:39 vote accept Dannyw24
Jul 5, 2013 at 23:22 comment added Dannyw24 I'll accept your awnser s_ha_dum, just need to manipulate this to work with my custom metabox field now :)
Jul 5, 2013 at 23:22 history edited s_ha_dum CC BY-SA 3.0
added 5 characters in body
Jul 5, 2013 at 23:21 comment added s_ha_dum Put a echo in front of the function call
Jul 5, 2013 at 23:21 comment added s_ha_dum No, it doesn't save anything. You need to echo the result or assign it to a variable.
Jul 5, 2013 at 23:19 comment added s_ha_dum Added another thing that I missed the first time though :)
Jul 5, 2013 at 23:17 comment added Dannyw24 Aww thanks s_ha_dum, learn't 3 things already I can't code when im this tired and about saving the functions. does return save the value of the variable after going through all those functions?
Jul 5, 2013 at 23:16 history answered s_ha_dum CC BY-SA 3.0