Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Ascker,

    I have removed the two lines of code below:

    $this->popup_content = apply_filters(‘the_content’, $this->popup_content );
    $this->popup_content = str_replace( ‘]]>’, ‘]]>’, $this->popup_content );

    and replaced it with this line below:

    $this->popup_content = do_shortcode($this->popup_content);3

    However before I save it I keep getting Syntax error but saved it anyhow and replaced the old file with the new one. And that is done it fails to start wordpress unless I change it back.
    any idea’s?? I would be most grateful if anyone knows where I am going wrong.

    Many thanks in advance,
    Matt

Viewing 1 replies (of 1 total)