Forum Replies Created
-
AuthorPosts
-
Torbjøn Bergwitz Lauen
ParticipantGot “Finn friluftsskoler” showing on all event related pages now. Too bad about the breadcrumbs though :/
Thanks for your help! 🙂
Torbjøn Bergwitz Lauen
ParticipantThe title is still “Nyheter” on single views. Breadcrumbs are now only the home icon and > on all the events calendar related pages.
If the breadcrumbs problem is too difficult I can just disable breadcrumbs, they aren’t really that important. But I need the page title to show.
Torbjøn Bergwitz Lauen
Participant@The large title, thanks for the fix 🙂
@conditionals, I used the same code as you provided above, I just exchanged “Events” with “Finn friluftsskoler”
<?php elseif ( x_is_portfolio() ) : ?>
<h1 class=”h-landmark”><span><?php the_title(); ?></span></h1>
// combine as many as you like if the output is the same
<?php elseif ( tribe_is_upcoming() || tribe_is_past() || tribe_is_map() || tribe_is_photo() || tribe_is_month() || tribe_is_week() || tribe_is_day() || tribe_is_photo() ) : ?><h1 class=”h-landmark”><span>Finn friluftsskoler</span></h1>
<?php endif; ?>
@breadcrumbs:
I tried adding your code like this:<?php if ( $breadcrumbs == '1' ) : ?> <?php if ( ! is_front_page() && ! x_is_portfolio() ) : ?> <div class="x-breadcrumbs-wrap"> <?php x_breadcrumbs(); ?> </div> <?php endif; ?> <?php if ( tribe_is_event() && is_single() ) : ?> <div class="x-breadcrumbs"><a href="http://friluftsskole.no"><span class="home"><i class="x-icon-home" data-icon=""></i></span></a> <span class="delimiter"><i class="x-icon-angle-right" data-icon=""></i></span> <span class="current">Finn friluftsskoler</span></div> <?php endif; ?> <?php endif; ?>But it doesn’t work properly then. It doesn’t show on frilfutsskole.no/finn-skole and on single events it shows the home icon twice and doesn’t link back to the main calendar page.
I also tried adding it seperatly below with this code:
<?php if ( $breadcrumbs == '1' ) : ?> <?php if ( tribe_is_event() && is_single() ) : ?> <div class="x-breadcrumbs"><a href="http://friluftsskole.no"><span class="home"><i class="x-icon-home" data-icon=""></i></span></a> <span class="delimiter"><i class="x-icon-angle-right" data-icon=""></i></span> <span class="current">Finn friluftsskoler</span></div> <?php endif; ?> <?php endif; ?>But same results. See for yourself. It’s the last one that is in the code now.
Torbjøn Bergwitz Lauen
ParticipantWell, it does add a title. But it’s much huger than on other pages. Also, men I go to single event, places, hosts etc the title becomes “Nyheter” (news).
Your breadcrumbs-code looks broken…
Torbjøn Bergwitz Lauen
ParticipantThis reply is private.
Torbjøn Bergwitz Lauen
ParticipantPerfect. Thanks!
Torbjøn Bergwitz Lauen
ParticipantHi!
That rule worked wonders. Althought it worked a bit too well. It also changed the color of the dates with events in the month view (see: http://freistnad.bls.no/kalender/). Those should be white…
About my second question you can see here: http://freistnad.bls.no/kalender/. On the present day the header of the date is highlighted in blue. I’d like to change that color to a different one.
Hope that makes more sense now 🙂
February 5, 2014 at 2:26 pm in reply to: Norwegian (Nynorsk) translation for Facebook Events and EDD tickets #101142Torbjøn Bergwitz Lauen
ParticipantYes, please 🙂
February 5, 2014 at 2:18 am in reply to: Norwegian (Nynorsk) translation for Facebook Events and EDD tickets #100927Torbjøn Bergwitz Lauen
ParticipantMy bad, I didn’t realize there was a dropdown-menu in the CodeStyle Localization plugin where there were more to translate. This should be all now, I hope.
Torbjøn Bergwitz Lauen
ParticipantHi!
Thanks for your answer, this was more of a suggestion than anything else (I’m already using the method you explained above. The one that didn’t include coding that is..). I realize now I should have posted it in a different place. Sorry for the inconvenience, I’ll post this under suggestions instead.
Best regards,
Torbjørn -
AuthorPosts
