• Resolved trs.julian

    (@trsjulian)


    i use eclipse to trace a menu text in ktai style but i did not see the text menu to edit.
    All folder i got but no one will appear text about that menu this is the code in footer.php [the ks_pages_menu is the main function to show the navigation menu in footer] where can i find the text of menu and what folder ? please help me if any one knows about this ..

    ?php ks_pages_menu(‘ | ‘, ‘<div>’, $ks_settings[‘list_pages’]);
    ?> | <?php ks_ordered_link(”, $max, ks_blogurl(KTAI_NOT_ECHO) . ‘?menu=months’, __(‘Blog’));
    ks_admin_link(‘ | ‘); ks_login_link(‘ | ‘); ?>
    </div>
    <div style=”margin: 25px auto 10px;font-size: 14px; line-height: 17px” align=”center”>All content Copyright
    株式会社デジログ|DIGILOG Co.,Ltd<?php ks_switch_pc_view(); ?></div>
    <?php ks_wp_footer(KTAI_NONE_PC_HEAD); ?>
    </body></html>

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The text of the menu is generated automatically, it cannot be found constant within files.

    Thread Starter trs.julian

    (@trsjulian)

    if generated automatically, their’s any way to control about navigation menu that I want to show…
    what fucntion i can make the statement or code i put to control the menu i want to show. please give me some idea about this.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It looks like this function

    ks_pages_menu(' | ', '<div>', $ks_settings['list_pages']);

    Thread Starter trs.julian

    (@trsjulian)

    i try to edit that function but nothing happen even if i remove the inside statement only ks_pages_menu will hold the function.. i want to remove one of the navigation menu in ktai page because it is not use but the problem is. i cannot remove it… i try to condition or make a code or statement in that page but nothing happen.. and i want to know what is the reference so i can redirect that menu or make if statement so it cannot be show. hope you have an idea….. almost 2 weeks i search it… but no one answer

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You shouldn’t modify the theme’s functions, but instead use a Child Theme.
    Anyway can’t you just hide one page element using jQuery? It won’t hide it from the HTML but using the .hide() function, the item will not be visible website-wise.

    Thread Starter trs.julian

    (@trsjulian)

    ok Thank you so much for the idea i get it..

    Thread Starter trs.julian

    (@trsjulian)

    <?php ks_pages_menu(‘ | ‘, ‘<div>’, $ks_settings[‘list_pages’],’sort_column=menu_order,post_title&exclude=406,559′); i solve my problem true this if they have page id. if default in ktai like all pages navigation this folder inc/template-tags.php remove the inside condition of thsi statement[[[[[if ($has_children) {
    $menu[] = ‘‘ . $a_open . $r[‘all_page_anchor’] . $a_close . ‘‘;
    }]]]]]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to find or edit or modify menu in ktai style theme plugin’ is closed to new replies.