Calendar only at top of page
-
I’d like to suggest that you modify the code to allow the calendar to appear at the point in the post/page where the shortcode is inserted. At the moment the calendar only appears at the top of the page/post.
If you modify lines 27 to 32 in link-google-calendar.php from:
public function link_google_calendar_section() { ?> <div align="center"> <?php echo get_option('link_google_calendar_textarea'); ?> </div> <?php
to:
public function link_google_calendar_section() { $output = '<div align="center">'; $output .= get_option('link_google_calendar_textarea'); $output .= '</div>'; return $output; }
it works for me with the calendar added to the correct point in the page/post.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Calendar only at top of page’ is closed to new replies.