Support » Plugin: Timeline History » Maps shortcode usage

  • Resolved deekey

    (@deekey)


    Hi, thank you for such a good job. Nice plugin!

    I want to use it on the history website with interactive maps in every year. I use mapplic plugin for this purpose. Maps are displayed through the shortcode which I insert to the timeline content, but it doesn’t recognize it. Is shows shortcode text. Could you please help me with that?

    Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • ktbrothers

    (@ktbrothers)

    Hi @deekey,

    Thanks to provide the new bag in the plugin. We will update this for public use in the next version, but you should cheers with below option:

    Replace the line under path plugins\timeline-history\include\content.php :-
    $content .='<li data-date="'.esc_attr($history_date_value).'"><h2>'.esc_attr(get_the_title()).'</h2>'.get_the_content().'</li>';

    With :-

    $my_content = apply_filters('the_content',get_the_content());
    					$content .='<li data-date="'.esc_attr($history_date_value).'"><h2>'.esc_attr(get_the_title()).'</h2>'.$my_content.'</li>';
    deekey

    (@deekey)

    Thank you @ktbrothers for such a fast reply and awesome support. Your code line works for me.

    deekey

    (@deekey)

    I have one more question actually not about support, but customization related.

    How can I increase the space between timelines on the scale? I have a year title label like 1, 100, 200 etc. And when I add the era letters (ex. CE, BC, AD) after year – it overlays the next label but not fitting the content. Is there a way to add text to numeric title label?

    Thank you.

    Plugin Author sehgal.sunny

    (@sehgalsunny)

    Hi Deekey,

    Please follow our previews support thread:

    https://wordpress.org/support/topic/date-spacing-and-text-colour/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Maps shortcode usage’ is closed to new replies.