amir200770

Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: Mashup shortcode to show by event date #12729
    amir200770
    Participant

    Hi Chris,

    Thank you for getting back to me. I am aware of the use of do_shortcode within the PHP code and am already using it in other places. However, how would you write something like

    echo do_shortcode(‘[mashup width="100%" height="400" query="post_type=events&meta_key=event_end_date&meta_value=date('Ymd')&meta_compare='<'"]‘);

    because this statement clearly has incorrect syntax.

    Thanks.

    in reply to: Mashup shortcode to show by event date #12727
    amir200770
    Participant

    BradSiegfried,

    Thank you for getting back to me. Sadly this was just a type here in the forums. The correct spelling of “meta_compare” still does not work.

    Can anyone assist please?

Viewing 2 posts - 16 through 17 (of 17 total)