This topic has 8 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #173013
     freerunner
    Participant

    This List icon in your demo and in my website is a dead link, why? https://www.screencast.com/t/VXGMwcXfzmd

    Can you please fix this so that it goes directly to the List Page?

    #173066
     Kieran_SQ
    Moderator

    Hi,

    That does appear to be an issue, I will forward this ticket to the developers who will be able to investigate this further for you.

    They’ll be in touch if they need more information or when they have a fix for you.

    Thanks for your patience.

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #173269
     Radu
    Moderator
    This reply has been set as private.
    #173319
     freerunner
    Participant
    This reply has been set as private.
    #173412
     Radu
    Moderator

    Hi,

    I see, just replace this file : wp-content/themes/buddyapp/lib/plugins/ctdl.php

    with this file content: https://pastebin.com/raw/QtDhteDL

    Then go to wp-content/themes/buddyapp-child/functions.php

    and add the next code in it : https://pastebin.com/raw/YnfK07UT

    Then you will be able to click on the tasks icon and you will go to the my-tasks page.

    NOTE : Child theme needs to be installed and activated.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #173480
     freerunner
    Participant

    Hi Radu,

    Can you please include this link within the Icon on the next Theme update?

    Thanks,

    Jeremy

    #173568
     Radu
    Moderator

    Hi,
    Just keep that in the child theme and that will remain even if you update.
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #173605
     freerunner
    Participant

    Hi,

    What I mean is, this option should be hard coded into the theme for everyone. Do you not agree?

    #173683
     Radu
    Moderator

    Hi,

    This option that you wanted will be available in future theme updates only if you add the next code to child theme functions!

    COPY CODE
    
    
    if( !function_exists( 'kleo_menu_tasks' ) ) {
        function kleo_menu_tasks()
        {
            $count = CTDL_Lib::get_todos(get_current_user_id(), 5000, 0)->post_count;
            ob_start();
            ?>
            <a href="<?php echo get_home_url() . '/my-tasks/'; ?>">
                <i class="icon-tasks-line"></i>
                <?php if ($count > 0) : ?>
                    <b class="bubble"><?php echo esc_html($count); ?></b>
                <?php endif; ?>
                <span><?php esc_html_e('Tasks', 'buddyapp'); ?></span>
            </a>
            <em class="menu-arrow"></em>
            <ul class="submenu">
                <li>
                    <?php
                    if ($count == 0) {
                        echo '<span>';
                    }
                    echo do_shortcode('[todolist]');
                    if ($count = 0) {
                        echo '</span>';
                    }
                    ?>
                </li>
                <?php if ($count > 0) :
                    $page_link = "#";
                    if ($page = get_page_by_title('My Tasks')) {
                        $page_link = get_permalink($page->ID);
                    }
                    ?>
                    <li class="footer-item">
                        <a class="btn btn-link" href="<?php echo esc_url($page_link); ?>">
                            <?php esc_html_e("View all", "buddyapp"); ?>
                        </a>
                    </li>
                <?php endif; ?>
            </ul>
            <?php
            get_permalink();
            return ob_get_clean();
        }
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?