deano89
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dashboard completely blankI’ve worked out its my functions.php file. my code must interfere or something any body know what is wrong
<?php if ( function_exists('register_sidebar') ) register_sidebar(); add_theme_support( 'post-thumbnails' ); ?>thanks
Forum: Themes and Templates
In reply to: Determining which template part to getThanks a lot for having a look.
Forum: Themes and Templates
In reply to: Determining which template part to getYeah that would be handy. Thanks for the tip. Still cant get the div tags working in the page.php file, just shows plain content then.
Forum: Themes and Templates
In reply to: Determining which template part to getyea that works does the same as what i had. thanks.
any idea why my
<?php get_header();?> <div class="content_container"> <?php get_sidebar ();?> <div class="main_content"> </div> </div>wont work with the code above.
Forum: Themes and Templates
In reply to: Determining which template part to getyes that is what i have done, but i want the loop in with this code
<?php if (is_page (array('Home', 'About', 'Services', 'Pricelist', 'Contact'))) ?> <?php get_template_part( 'loop','page'); ?> <?php if (is_page ('News')) ?> <?php get_template_part( 'loop','news');?> <?php if (is_page ('Portfolio')) ?> <?php get_template_part( 'loop', 'portfolio');?>so i can adjust the div tags in the portfolio page and news page if you know what i mean. as with each new post i get the container and content divs whereas i want each post in the 1 content div.
Forum: Themes and Templates
In reply to: Determining which template part to getAlso how would i fit the loop in with the code above!
for example
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id class="content_container"> <?php get_sidebar ();?> <div id class="main_content">Forum: Fixing WordPress
In reply to: index.php multiple loop for different pages.anybody help me with the
if_page('so on')
would this help me with what i’m after.
thanks`