Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter graham85

    (@graham85)

    i managed to sort it i was taking the shortcode of the woothemes shortcode page which is incorrect you have to the icon in the page editor and display shortcode like this [products ids=”” skus=””]

    Thread Starter graham85

    (@graham85)

    sorted the issue now

    Thread Starter graham85

    (@graham85)

    and the image thumbnails aren’t cropping into smaller images
    thanks

    Thread Starter graham85

    (@graham85)

    its the simple wordpress plugin

    thanks

    Thread Starter graham85

    (@graham85)

    i created a menu but it wont support subpages

    Thread Starter graham85

    (@graham85)

    and this is the css.

    #nav2 {
    clear: both;
    height: 45px;
    width: 1000px;
    background: url(images/nav.png) no-repeat;
    margin-bottom: 35px;
    overflow: hidden;
    }
    #nav2 li {
    float: left;
    line-height: 45px;
    margin-right: 1px;
    }
    #nav2 li a {
    float: left;
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0px 22px;
    font-size: 12px;
    text-transform: uppercase;
    font-family: ‘PTSansNarrowBold’;
    text-shadow: 1px 0 1px #000000;
    }
    #nav2 li.current-menu-item, #nav2 li:hover, #nav2 li.current-cat {
    background: url(images/navh.png) repeat-x;
    }
    #nav2 li.first a, #nav2 li.first a:hover, #nav2 li.firstac a {
    background: url(images/first-active.jpg) no-repeat scroll left !important;
    }
    #nav2 li li {
    display: none;
    }

    Thread Starter graham85

    (@graham85)

    and this is in the header.php

    <?php if ( has_nav_menu( ‘secondary-menu’ ) ) { //checks if custom menu has been created
    wp_nav_menu( array( ‘menu_class’ => ‘sf-menu’, ‘theme_location’ => ‘secondary-menu’ ) );
    } else {// if not, old fashioned category menu will be loaded
    ?>
    <ul class=”sf-menu”>
    <?php $cat = get_option(‘swt_categories’); ?>
    <li class=”category_item <?php if(is_home()) { echo ‘current-menu-item first’; } ?>”>” id=”home”>Home
    <?php wp_list_categories(“title_li=&depth=1&exclude=$cat” ); ?>

    <?php } ?>

    Thread Starter graham85

    (@graham85)

    no. i placed the one page under the other to create a sub menu but it didnt appear at all.

    my functions.php looks like like this

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary-menu’ => __( ‘Primary Menu’ ),
    ‘secondary-menu’ => __( ‘Secondary Menu’ ),
    ) );
    function my_wp_nav_menu_args( $args = ” )
    {
    $args[‘container’] = false;
    return $args;
    } // function
    add_filter( ‘wp_nav_menu_args’, ‘my_wp_nav_menu_args’ );

    and my themeoptions.php looks like this:

    array( “name” => “Menu settings”,
    “type” => “heading”,
    “desc” => “Here you can exclude some of the links in the menus of theme.”,
    ),

    array( “name” => “Exclude pages”,
    “desc” => “You can exclude some of the links in the pages menu (comma separated if more than one!).”,
    “id” => $shortname.”_pages”,
    “std” => “”,
    “type” => “text”),

    array( “name” => “Exclude categories”,
    “desc” => “You can exclude some of the links in the categories menu (comma separated if more than one!).”,
    “id” => $shortname.”_categories”,
    “std” => “”,
    “type” => “text”),

    array( “name” => “Miscellaneous”,
    “type” => “heading”,
    “desc” => “Here you can exclude some of the links in the menus of theme.”,
    ),

    Thread Starter graham85

    (@graham85)

    by their category’s. at the moment the homepage shows every post i have i only want 4 specific posts to feature on the homepage.
    regards

    Forum: Fixing WordPress
    In reply to: robots.txt
    Thread Starter graham85

    (@graham85)

    ive tried that but no look so far.
    the link http://bopinternet.co.uk/robots.txt
    ive even tried putting this in the header.php
    <?php if(is_single() || is_page() || is_category() || is_home()) { ?>
    <meta name=”robots” content=”all,noodp” />
    <?php } ?>
    might have to reinstall the addon domain because something not right and ive never had this problem before with an addon domain

    Forum: Fixing WordPress
    In reply to: robots.txt
    Thread Starter graham85

    (@graham85)

    i cant find the robots.txt file any where in my cpanel manager. the only thing i can think off is its been bad install as a addon domain.

    Forum: Fixing WordPress
    In reply to: robots.txt
    Thread Starter graham85

    (@graham85)

    yeh i did at first whilst was building pages and stuff then switched it back to allow search engines

    Forum: Fixing WordPress
    In reply to: robots.txt
    Thread Starter graham85

    (@graham85)

    just trying to get it index as it new, theirs 14 pages so far and it wont accept my xml sitemap generated by yoast it says url restricted by robots.txt.
    and yes its very confusing never had this problem before. especially when google blocked url check says it allows googlebot and then the fetch googlebot says its been denied.

    Thread Starter graham85

    (@graham85)

    the blog page has its own blog.php page
    my index.php is my frontpage its static and has is_frontpage(); code in it

    Thread Starter graham85

    (@graham85)

    ive cretated a seperate template for the blog roll. ive use this code so far but it doesnt display the post execerpts.

    [please mark any posted code – see http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]

    <?php get_header(); ?>
    
    <?php if (have_posts()) : ?>
    
      <?php if (($wp_query->post_count) > 1) : ?>
         <?php while (have_posts()) : the_post(); ?>
           <!-- Do your post header stuff here for excerpts-->
              <?php the_excerpt() ?>
           <!-- Do your post footer stuff here for excerpts-->
         <?php endwhile; ?>
    
      <?php else : ?>
    
         <?php while (have_posts()) : the_post(); ?>
           <!-- Do your post header stuff here for single post-->
              <?php the_content() ?>
           <!-- Do your post footer stuff here for single post-->
         <?php endwhile; ?>
    
      <?php endif; ?>
    
    <?php else : ?>
         <!-- Stuff to do if there are no posts-->
    
    <?php endif; ?>
    
    <?php get_footer(); ?>
Viewing 15 replies - 1 through 15 (of 15 total)