Peter

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • in reply to: "Calendar Of Events" title change #16886
    Peter
    Member

    I don’t know why the code wont show. I will try to post it again WITHOUT the php tags.
    —————————————–

    add_filter(‘tribe_get_events_title’, ‘my_get_events_title’);

    function my_get_events_title($title){

    if( is_tax() ){

    return $title;

    }else{

    return ‘Kalender’;

    }

    }

    in reply to: "Calendar Of Events" title change #16885
    Peter
    Member

    The code…
    —————

    in reply to: "Calendar Of Events" title change #16884
    Peter
    Member

    Inside my themes functions.php I insert this code

    require_once('http://furesoehoerecenter.dk/custom_lib/custom_functions.php');

    The custom_functions.php file I created contains this code:

    in reply to: "Calendar Of Events" title change #16716
    Peter
    Member

    Hi Jonah,

    When I add the following code to function.php my entire site goes blank.

    require_once('library/sidebar.php');

    How can that be?

    in reply to: "Calendar Of Events" title change #16688
    Peter
    Member

    Thanks. I will test it later this week.

    If I would like to avoid editing the themes function.php, is there anyway I am able to make my own custom function file?

    That way I won’t loose my changes when I update the theme.

    in reply to: "Calendar Of Events" title change #16658
    Peter
    Member

    Rob, Is this the code I should be using in the function.php file then?


    add_filter('tribe_get_events_title', 'my_get_events_title');

    function my_get_events_title($title){

    if( is_tax() ){

    return $title;

    }else{

    return 'My Title';

    }

    }

    in reply to: "Calendar Of Events" title change #16178
    Peter
    Member

    There is no the_title() function in the page.php file.

    The theme I am using is called Karma from TrueThemes: http://themeforest.net/item/karma-clean-and-modern-wordpress-theme/168737

    I will try to look for the_title() function.

    in reply to: "Calendar Of Events" title change #16127
    Peter
    Member

    I’ve tried to paste the code in the middle of the existing code and no change was made to the frontend.

    in reply to: "Calendar Of Events" title change #16057
    Peter
    Member

    Before I add any code to the page.php file, I would like to know where exactly in that file, I should please the code.

    Before, after, in between what part of the code?

    in reply to: "Calendar Of Events" title change #16032
    Peter
    Member

    Hi Jonah,

    I’ve tried to add the code to ecp-page-template.php without any result. I can’t find the page.php file. Where might that be located?

    in reply to: "Calendar Of Events" title change #15872
    Peter
    Member

    > Rob
    Thanks. I will stay tuned.

    > Julien
    I need to change the calendar title saying “Calendar of EventsCalendar of Events”.

    in reply to: "Calendar Of Events" title change #15827
    Peter
    Member

    The only modifications made to this theme is the following.

    ——————————————————
    .content_full_width {font-size:14px !important;}
    #header .logo {margin-top: -32px !important;}
    #header .logo {width:960px !important;}
    #header .logo {text-align:center !important;}
    .header-holder {height: 154px !important;}
    #menu-main-nav {width:790px !important;}
    #menu-main-nav {margin-right:64px !important;}
    .home-flash-slider {width:840px !important;}
    .home-flash-slider {margin-top:115px !important;}
    #menu-main-nav .drop ul a span {font-size:16px !important;}
    #menu-main-nav .drop ul a span {text-align:left !important;}
    .page-id-227 #content .message_blue, .page-id-227 .content_full_width .message_blue {width:580px !important;}

    #tribe-events-calendar-header .tribe-events-calendar-buttons {
    margin-top: 0;
    }
    ——————————————————

    Besides these modifications the theme is complete standard.

    in reply to: "Calendar Of Events" title change #15691
    Peter
    Member

    When I try to activate the Twenty Eleven 1.3 theme from WordPress the header is only showing “Calendar of Events”.

    Is the issue now located in the Karma theme I am using?

    in reply to: "Calendar Of Events" title change #15325
    Peter
    Member

    What theme should I try to revert?

    in reply to: "Calendar Of Events" title change #15202
    Peter
    Member

    I’ve sent you an email with the .mo and .po files attached.

Viewing 15 posts - 1 through 15 (of 26 total)