Torbjøn Bergwitz Lauen

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Events Calendar title and breadcrumbs not showing #966549

    Got “Finn friluftsskoler” showing on all event related pages now. Too bad about the breadcrumbs though :/

    Thanks for your help! 🙂

    in reply to: Events Calendar title and breadcrumbs not showing #966490

    The 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.

    in reply to: Events Calendar title and breadcrumbs not showing #966168

    @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.

    in reply to: Events Calendar title and breadcrumbs not showing #966042

    Well, 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…

    in reply to: Events Calendar title and breadcrumbs not showing #965891

    This reply is private.

    in reply to: Simple way of changing color of all links? #532670

    Perfect. Thanks!

    in reply to: Simple way of changing color of all links? #532591

    Hi!

    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 🙂

    Yes, please 🙂

    My 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.

    http://jmp.sh/b/kyhHPopabt3WWGX02bQk

    in reply to: Recurrent events exceptions #97910

    Hi!

    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

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