Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • ellentolsma

    (@ellentolsma)

    Hi – I have the same question, I’m trying to figure out padding (top/bottom 20mm, left/right 10mm) so I can print the addresses onto Avery template L7160.

    Thanks for any help you can offer!

    Thread Starter ellentolsma

    (@ellentolsma)

    Thanks, you helped me already! Had a close look at the style sheet & found the ‘problem’. Now adjusted and perfectly aligned to the right.

    Thread Starter ellentolsma

    (@ellentolsma)

    Still struggling with this one – any suggestions?

    Thanks

    Thread Starter ellentolsma

    (@ellentolsma)

    I have – yes. Here’s the code of the custom page template I have made:

    <?php
    /*
    Template Name: Game
    */
    ?>
    
    <?php
    
    $theme_page_type=get_meta_option('theme_page_type');
    if($theme_page_type=='2') return require(THEME_DIR . "/template-blog.php");
    
    ?>
    
    <?php get_header(); ?>
    
    <?php tf_supersized(); ?>
    
    <section id="main-wrap">
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    		<div class="container">
    
    			<?php if(get_meta_option('display_title')!='off'): ?>
    
    			<div class="sixteen columns">
    
    				<h1 id="post-title"><?php the_title(); ?></h1>
    
    			</div>
    
    			<?php endif; ?>
    
    			<?php  $layoutType=get_post_meta(get_the_id(), 'layout-type', true); ?>
    
    			<?php if($layoutType==16 || $layoutType==''): ?>
    
    				<div class="sixteen columns">
    
    					<?php the_content(''); ?>
    
    				</div>
    
    			<?php else: ?>
    
    				<div class="twelve columns">
    
    					<?php the_content(''); ?>
    
    				</div>
    
    				<aside class="four columns">
    
    					<?php get_sidebar(); ?>
    
    				</aside>
    				<br class="clear">
    
    			<?php endif; ?>	
    
    		</div>	
    
    	<?php endwhile; ?>		
    
    <?php get_footer(); ?>

    Would it help if I’d call the secondary navigation menu in this page’s .php? Or do I need to (also) create a new function for the secondary navigation on function.php?

    Thanks ??

    Thread Starter ellentolsma

    (@ellentolsma)

    Thanks Esmi, getting closer ??

    My header + primary navigation menu is back but when I go to the ‘other’ landing page, the secondary navigation menu is not showing. To create a dedicated page template for this landing I basically copied the exact code of page.php but saved & added it to the template under another name: game-page.php. At page attributes WP now allows me to pick either ‘default template’ or ‘Game’ but it’s not connecting that page template to the secondary nav menu for some reason…

    What am I missing..?

    Hi! “inline hash tag” mode will automatically turn important keywords of your blog post title into hashtags. Hope this makes sense.

Viewing 6 replies - 1 through 6 (of 6 total)