Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • try style.css in your theme’s directory

    eg.
    wp-content/themes/default/style.css

    Thread Starter mike008

    (@mike008)

    Kind of, but not random. Basically I’m setting up a page for a friend and he would like to have a link populate each month to a different pdf file.

    I guess I’m just looking for a way to “Set it and forget it.” So in June it will populate the link to the June.pdf file, in July a link to July.pdf.

    This way the only thing he would need to update are the pdf files each year and he wouldn’t need to update sidebar.php each month.

    Forum: Fixing WordPress
    In reply to: exclude parameter
    Thread Starter mike008

    (@mike008)

    Update – just in case someone else has a similar problem, thought I would post the finised product.

    I also found a way to hide the child pages while viewing the child pages without having to add each additional page name or id to the original if statement. It’s a simple function that Nicholas Roussos put together.

    Heres my final if statement:

    <?php
    if (is_page('Pictures')) { ?>
    <?php wswwpx_fold_page_list('title_li=&sort_column=menu_order&page_id= && depth=-1'.$posts[0]->ID); ?>
    <?php } elseif (is_child('23')) { ?>
    <?php wswwpx_fold_page_list('title_li=&sort_column=menu_order&page_id= && depth=-1'.$posts[0]->ID); ?>
    <?php } else { ?>
    <?php wswwpx_fold_page_list('title_li=&sort_column=menu_order&page_id='.$posts[0]->ID); ?>
    <?php } ?>
    Forum: Fixing WordPress
    In reply to: exclude parameter
    Thread Starter mike008

    (@mike008)

    lol Thanks for your warning ??

    But I think you could be, cause it worked!

    Well… almost perfect, I had to actually change it to:

    <?php
    if (is_page('Pictures')) { ?>
    <?php wswwpx_fold_page_list('title_li=&sort_column=menu_order&page_id= && depth=-1'.$posts[0]->ID); ?>
    <?php } else { ?>
    <?php wswwpx_fold_page_list('title_li=&sort_column=menu_order&page_id='.$posts[0]->ID); ?>
    <?php } ?>

    so it would populate within the unordered list correctly!

    Thank you very much! Kudos

    Forum: Fixing WordPress
    In reply to: exclude parameter
    Thread Starter mike008

    (@mike008)

    ok, I think that would work… except for the sub-pages of Pictures, cause the id or page name would need to be added to the if statement. That solution will work for now though b/c I don’t plan on adding any subpages anytime soon.

    I can’t seem to get this to work though… I’ve tried this:

    <?php
    if (is_page(‘Pictures’)) {
    <?php wswwpx_fold_page_list(‘depth=-1’); ?>;
    } else {
    <?php wswwpx_fold_page_list(‘title_li=&sort_column=menu_order&page_id=’.$posts[0]->ID); ?>;
    }
    ?>

    which doesn’t work… which I thought might be b/c of the “<?php” and “?>” within the if statement. So I tried this:

    <?php
    if (is_page(‘Pictures’)) {
    wswwpx_fold_page_list(‘depth=-1’);
    } else {
    wswwpx_fold_page_list(‘title_li=&sort_column=menu_order&page_id=’.$posts[0]->ID) ;
    }
    ?>

    Still nothing. :S

    The page’s source is empty when I load it:

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
    <HTML><HEAD>
    <META http-equiv=Content-Type content=”text/html; charset=utf-8″></HEAD>
    <BODY></BODY></HTML>

    Forum: Fixing WordPress
    In reply to: exclude parameter
    Thread Starter mike008

    (@mike008)

    I looked into the depth parameter, but I need the other pages to display the subpages when they are clicked. Unless is there a way to specify the page depth for Page=Pictures?

    Thread Starter mike008

    (@mike008)

    Anyone???

    Thread Starter mike008

    (@mike008)

    Any help would be great… even some help with an if statement that pulls info for the current date. I need it to display a picture and a text link depending on the month.

    Thanks,

    mIKE

    Forum: Plugins
    In reply to: SPS Suite Plugin
    Thread Starter mike008

    (@mike008)

    Ok, the other topic I posted has been resolved which just so happens to solve this one. Another plugin was recommended fold_page_list plugin. And it works great!

    Forum: Plugins
    In reply to: Pages and Search
    Thread Starter mike008

    (@mike008)

    btw yeah I did only want to display the child pages while on the parent pages. and the fold page list plugin worked great

    Forum: Plugins
    In reply to: Pages and Search
    Thread Starter mike008

    (@mike008)

    Thank you sooo much! It works.

    Forum: Plugins
    In reply to: Pages and Search
    Thread Starter mike008

    (@mike008)

    Anyone… please help

    Forum: Plugins
    In reply to: SPS Suite Plugin
    Thread Starter mike008

    (@mike008)

    Anyone?

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