gr8
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Add second menu to Twenty Twelveoops, tpyo. found it – Thanks.
Forum: Themes and Templates
In reply to: Add second menu to Twenty TwelveYes, I’ve been successful at changing id and style of menu-two just can’t seem to keep it contained and functioning in the mobile menu view? When I found this post thought it was relevant to the js file? Thanks again for the feedback.
Forum: Themes and Templates
In reply to: Add second menu to Twenty TwelveThanks, looks to me like that adds a second menu that changes the <nav id=”second-navigation” yet leaves the class=”main-navigation” and ‘menu_class’ => ‘nav-menu’ unchanged (pardon my shorthand) so they share the same css.
How to make the changes to the js file that creates two independent navigation menus, each with their own unique style css and locations? And… both work in the twenty twelve mobile menu view?
Think you left an extra ) in your tutorial when registering the second nav in functions.php
Forum: Themes and Templates
In reply to: Add second menu to Twenty TwelveMind sharing the recipe you used for proper queue of the new js file?
Forum: Themes and Templates
In reply to: Make image attachment page Title link to the page with galleryAsking the correct question was the answer. This adds an additional linked “page title” (not entry title) that returns to the page where the images are attached. In the attachment image template php of my twenty twelve child theme I added:
<?php if ( ! empty( $post->post_parent ) ) : ?> <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', '' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery"><?php printf( __( '<span class="meta-nav">←</span> %s', '' ), get_the_title( $post->post_parent ) ); ?></a></p> <?php endif; ?>