Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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>';
    Thread Starter ktbrothers

    (@ktbrothers)

    Hi @modernnerd

    Thanks to provide quick solutions, so I have checked the log and it reported the error as

    [06-Apr-2018 04:11:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function genesis_scripts() in /dom7538/wp-content/plugins/genesis-simple-hooks/includes/class-genesis-simple-hooks-admin.php:106
    Stack trace:
    #0 /wordpress-4.9.5/wp-includes/class-wp-hook.php(286): Genesis_Simple_Hooks_Admin->scripts('')
    #1 /wordpress-4.9.5/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /wordpress-4.9.5/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /wordpress-4.9.5/wp-admin/admin.php(214): do_action('load-genesis_pa...')
    #4 {main}
      thrown in /dom7538/wp-content/plugins/genesis-simple-hooks/includes/class-genesis-simple-hooks-admin.php on line 106
    [06-Apr-2018 04:11:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function genesis_scripts() in /dom7538/wp-content/plugins/genesis-simple-hooks/includes/class-genesis-simple-hooks-admin.php:106

    So I just now comment to the line 106 which called to the function genesis_scripts(); and the plugin started to works.

    Please review the log.

    ktbrothers

    (@ktbrothers)

    @stellav thanks for your great loving to our plugin.

    This is a simple task, you just need to change the CSS.
    For Example:

    .cd-timeline-navigation a.prev.inactive, .cd-timeline-navigation a.next.inactive {background: #e0da8e none repeat scroll 0 0 !important; border: 2px solid #e0da8e !important;}
    .cd-timeline-navigation a.next, .cd-timeline-navigation a.prev {background: #d4c72c none repeat scroll 0 0 !important; border: 2px solid #d4c72c !important;}
    .cd-horizontal-timeline .events a.older-event::after {border-color: #d4c72c;}
    .cd-horizontal-timeline .filling-line{background-color: #d4c72c;}
    .cd-horizontal-timeline .events a.selected::after {background-color: #d4812c; border-color: #d4c72c;}
    ktbrothers

    (@ktbrothers)

    @klimtech

    Thanks to ask your requirement as we have already developed this functionality as well but testing is in-progress. So once our QA over, we will get this in the next coming version soon.

    ktbrothers

    (@ktbrothers)

    Hi @hjsurk, Just place above code in the footer as We have tested this code with your site. Cheers..

    ktbrothers

    (@ktbrothers)

    Thanks @hjsurk to report the problem. Users face such issue due to use of some of date difference too long. For Ex. year range 1979, 1990, 1999, 2000. So please limit this difference between two dates.
    you can try with below code

    <script type="application/javascript">
    	jQuery(document).ready(function($){
    		var total_event = $('.cd-horizontal-timeline .timeline .events-wrapper .events ol li').length;		
    		for(var i=1; i<= total_event; i++){
    			$('.cd-horizontal-timeline .timeline .events-wrapper .events ol li:nth-child('+i+') a').css('left',''+i*100+'px');
    		}
    	});
    </script>

    We are working on this point with strong solution as this issue is genuine with most js timeline.

    Hi @danwpc,

    Thanks for review and comment here and its our pleasure to fix it asap if exist. Actually I have reviewed this plugin with the last 4 WP versions up-to latest one 4.9.3 with different scenario like activate, deactivate, uninstall, re-install, fresh implementation with fresh post but didn’t get the situation of error that you encountered. Could you please explain more by briefing the WP version, which page, template etc.

    There might be the only possibility of occurring such error i.e. missing current post ID. Please check your code and close the loops by using wp_reset_query() / wp_reset_postdata().

    Thread Starter ktbrothers

    (@ktbrothers)

    Yes, I hv sorted out it by removing such plugins which provides backdoor entry and created my own plugin.

    @valentinjcqmt – First of all qTranslate is a best and number 1 rank plugin for multilingual. As I understood and little assume that You have multisite network setup website and if you set multisite as “each language for each blog”(one-To-one) OR “all language for each/single blog”(many-To-one)
    You have to use function “switch_to_blog” and after loop end use function “restore_current_blog”. Suppose(many- To-one) you want to get posts from italian language/blog then you have to write the code as like:

    switch_to_blog(itlainian-lang-blog-id);
    // function qtrans_use($lang, $text, $show_available=false) Read more about this function
    $post_id=47;// assume post id
    $post = get_page($post_id); 
    $title= qtrans_use('it', $post->post_content,false); // it - language
    echo $content;
    restore_current_blog();

    same experience with this plugin.

Viewing 10 replies - 1 through 10 (of 10 total)