Support » Plugin: Really Simple Events » Accessing data via PHP

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author huntlyc

    (@huntlyc)

    Sure, you can get a list of events from this function: hc_rse_get_events($listType, $showEvents)

    You’ll want to supply the $listType variable, take a look at the function source code (It’s not very complicated, honest)! http://plugins.trac.wordpress.org/browser/really-simple-events/trunk/really-simple-events.php#L441

    You’ll want to var_dump() the output and see what you’re dealing with… If you’re going down this route, then in your theme or whatever, you’ll probably want to get rid of my java script and css. That’s easy enough to do, you just need to add these lines:
    `wp_dequeue_script(‘hc_rse_js’);
    wp_dequeue_style(‘hc_rse_styles’);’

    Thread Starter GreyhoundXX

    (@greyhoundxx)

    Thanks, I just copied lines 161 – 200 from that file into my PHP file and edited as necessary. Very easy!

    Plugin Author huntlyc

    (@huntlyc)

    Nice one! If you need anything else, just give us a shout…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Accessing data via PHP’ is closed to new replies.