This topic has 1 reply, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #94988
     IrishBrown
    Participant

    Hello,

    Could I change the Sweet Date theme for the Sweet travel theme. I selected the sweet date theme because tin the demo it had the signup option on the home page. The Sweet travel theme had a search option. I did not realize that a login option could be applied to both of them. I am not very happy with the Sweet Date theme because that is not the type of web page I an trying to setup. My web theme is closer to Sweet Travel. At this point it is a hassle to remove all the references to a dating site.

    To summarize I would be much happier with Sweet travel theme.

     

    Thanks in advance.

    #95292
     Laura
    Moderator

    Hello, i see yo want the travel style right? Well first import the travel settings found at SweetDate\Main Files\Demo content\site styles
    Car Sharing
    Then import it at Sweetdate > Import
    ( Copy the text and paste it, then click import )
    Then to delete all hearts from the theme just add this to functions.php of child theme

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_hearts_actions');
     
    function kleo_my_hearts_actions() 
    {
       /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');      
     
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
     
        /* Replace the heart from register modal */
        add_filter('kleo_register_button_icon', 'my_custom_icon_register');
     
        /* Replace the heart from About us widget */
        add_filter('kleo_widget_aboutus_icon', 'my_custom_icon_about_widget');
    }
     
    /* Replace the heart with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
     
    /* Replace the heart from register modal with a user icon function */
    function my_custom_icon_register () {
        return 'user';
    }
    /* Replace the heart from about us widget with a user icon function */
    function my_custom_icon_about_widget () {
        return 'user';
    }
     
    add_action('after_setup_theme','kleo_remove_actions');
    /**
     * Override existing actions
     * Use these functions to replace/remove existing actions
     * @since Sweetdate 1.3
    */ 
    function kleo_remove_actions() 
    {
       /* For example uncomment the line bellow to disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');      
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?