Forum Replies Created

Viewing 15 replies - 136 through 150 (of 152 total)
  • Forum: Your WordPress
    In reply to: First WP Site
    Thread Starter jrodgers

    (@jrodgers)

    thanks
    and…
    yes, not my first site, but my first with wordpress and any kind of php, “what’s new” is the primary blog page, but the events, opportunities, paint and a couple of others use a customized loop to show specified categories, even in the what’s new, if you check you will not see any events listed as they are listed separately

    i find wp very powerful but sometimes i need tweak some code or add my own functions to get it to do whats asked for, which is not as easy as it sound considering my understanding of php is terrible, but I’m getting better

    Forum: Your WordPress
    In reply to: Redesign Feedback

    Also, I’m not sure if this is the right place to ask this, but I still get quite a few visitors running IE6 and I can’t figure out how to test the site in older IE versions. If anyone has access to IE6, I’d really appreciate a browser report.

    if you are on windows you can install a virtual pc and use it for testing ie6 compatibility

    https://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx

    Forum: Your WordPress
    In reply to: Redesign Feedback

    i like it, fresh and edgy without being irreverent, blog is written well content is good, cartoons are great and CANADIAN too! multiple wins!

    Your mockery of the Bible is unspeakable.

    no he spoke it but was hardly mockery, and this is not the place for that discussion

    wish you had comments turned on tho, would have liked to comment on a couple of postings

    jrodgers

    (@jrodgers)

    web hosting has nothing to do with your local desktop system, what is important in a web host is what web support they provide
    php
    asp
    jsp
    .net
    coldfusion
    bluedragon
    etc.
    your local system is only required to have software which can interface with the host company, an ftp for transferring files, a browser for viewing web pages..thats it, so i’m not sure what the issue is here?

    some themes have tehm in by default, if your theme is widgetized go to teh admin screena nd look at presentation>widgets, this will usually let you customize the sidebar content, with some themes if you do not have a customized sidebar tehy include one by default, you can get around this by getting the widgetize anything plugin and putting a blank widget in the side bar

    in your themes directory add this page

    <?php
    /*
    Template Name: Blank Page
    */
    ?>

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>
    <!– put content here –>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    then oin teh admoin gotop manage>pages and select the page you wan tto customize, on the right ahnd side is a dropdown which is defaulted to ‘Default Template’ select teh blank template created above as the page to be used for this wp page. that should do it

    Thread Starter jrodgers

    (@jrodgers)

    thank you

    in the style.css of your template/theme look for an entry called post and add

    border:1px solid green;

    change teh thickness, style (solid, dotted, outset, inset…) and colour to suit your colour scheme

    for the side bar look for something along the lines of
    #sidebar ul ul

    depending on your them it might be
    #l_sidebar ul ul
    or
    #r_sidebar ul ul
    and do the same thing

    create a template from one of the standard blog pages and set it to have only one post or use thisd as a starting place and configure as needed

    1)change events to something like home or firstpage etc

    2)where it says cat=11, change it to p=the id of the post you want to show,
    3)save it as someTemplate.php
    4)write/create a page and set the default template, option is on right hand side about half way down, to be the template name you gave it in step 1
    5)set your home page under options; select static page and point it to the page you created in step 4

    <?php
    /*
    Template Name: Events
    */
    ?>

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>
    <?php
    $query= ‘cat=11’; // concatenate the query
    query_posts($query); // run the query
    $more = 0;
    ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php require(‘post.php’); ?>
    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php posts_nav_link(”,”,’« Previous Entries’) ?></div>
    <div class=”alignright”><?php posts_nav_link(”,’Next Entries »’,”) ?></div>
    </div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”><?php _e(“Sorry, but you are looking for something that isn’t here.”); ?></p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Thread Starter jrodgers

    (@jrodgers)

    adding
    $more=0; before the loop corrects this

    Thread Starter jrodgers

    (@jrodgers)

    no accessing the on wordpress site theme was fine, but the home site of the poster, stealth settings, which i will not post as my norton still shows the atempts to download teh file, has the issue, and as a result, I would not trust the theme

    Thread Starter jrodgers

    (@jrodgers)

    thank you

    Thread Starter jrodgers

    (@jrodgers)

    i got it working with
    `
    <?php
    $query= ‘category_name=events’; // concatenate the query
    query_posts($query); // run the query
    ?>’

    but the minus(-) does not seem to work with category name, is ther other syntax for excluding a category name?

    Thread Starter jrodgers

    (@jrodgers)

    i also saw that to exclude a catergory you include a minus (-)
    so would

    <?php
     		$query= 'cat=-events'; // concatenate the query
     		query_posts($query); // run the query
     	?>

    exclude the events items from the page?

    thank you very much for your time and patience.

Viewing 15 replies - 136 through 150 (of 152 total)