Forum Replies Created

Viewing 15 replies - 271 through 285 (of 546 total)
  • Forum: Plugins
    In reply to: Order post by ID

    doesn’t work for me, either. Because I cannot get ordering by the timestamp to reverse, I thought to control things by controlling the id of the post added to the category.

    However, no joy.

    Help?

    Forum: Plugins
    In reply to: Order Posts in Categories

    Has anyone gotten oldest posts first to work in 2.3.2? I’ve TRIED the suggested
    <?php query_posts('order=ASC'); ?>

    (and others)…

    they don’t work. I’ve used both

    <?php query_posts('order=ASC'); ?>
    <?php query_posts('order=DESC'); ?>

    for my category.php file (before the loop) and it makes NO DIFFERENCE in the order which my two posts display. One is dated 12/01/2007 and the other 12/07/2007

    the one dated 12.07.2007 is displaying first in all cases. Again, this is in WordPress 2.3.2

    HMMM… on editing this… I looked in the db and the actual dates are 12.07.2007 and 11.31.2007 (which still means that the newest is displaying first, which is opposite of what I want). But nonetheless, using the query method suggested makes no difference, whether ASC or DESC. I am wondering if something about 2.3.2 is changed such that the method no longer works? if that is the case, HOW can order be reversed?

    Help is much appreciated!

    Thread Starter syncbox

    (@syncbox)

    So, is there a single place to go look at what files need to be uploaded? I don’t have that version.php file (among others I’ve seen in fresh installs). This particular site is hosted where WordPress is auto-installed (which has been fine at least until now)… and this site was one that was upgraded recently rather than a fresh install of WordPress.

    Would uploading the wp-admin folder cover things? Or everything except the themes and the usual config .htaccess, etc?

    I just want to be sure to cover the security fixes…

    Thread Starter syncbox

    (@syncbox)

    I am happy to keep this in one place, but thought it a separate question. I’ve seen just as many requests to NOT use the same thread for other questions.

    Sorry. Just trying to follow the rules 😉

    Thread Starter syncbox

    (@syncbox)

    Here’s what it shows:

    <?php
    
    // This holds the version number in a separate file so we can bump it without cluttering the SVN
    
    $wp_version = '2.3.1';
    $wp_db_version = 6124;
    
    ?>

    is that what it should show?

    try setting the number of posts to show (in your admin options) to a very very high number (more than 10)

    there are plugins that claim to allow individual values for categories, but I’m not sure if they are compatible with the latest version of WordPress (2.3.2 or any 2.3x version)

    so:
    1) log into your admin
    2) go to options (http://example.com/wp-admin/options-reading.php)
    3) change the “10” value in the “Blog Pages show at most” field to a bigger value

    hth

    Thread Starter syncbox

    (@syncbox)

    Thanks, whooami… I didn’t see that one. I’ve fixed it and will check through everything else.

    What would these forums do without you? Thanks for the hours you must spend helping!

    Thread Starter syncbox

    (@syncbox)

    Thank you, I will… I’ve changed the password to something a lot more stringent and I don’t use the “admin” default as a username…

    I also spoke with my web hosting company about how using the example.com/wp-admin/upgrade.php path to upgrade says I don’t need to upgrade… though my admin pages keep saying I do (and of course, I do, since the latest version is 2.3.2, not 2.3.1) They are looking into that for me as I did tell them that the latest version includes security fixes.

    I *do* so appreciate your help! I will get back to you if I see anything or have more questions.

    Thread Starter syncbox

    (@syncbox)

    hmmm… I seemed to have fixed it? And did see that this IS 2.3.1, so I will upgrade manually since the hosting company isn’t using the latest version.

    I don’t know what I did to let them in – like I said, I try to not have loose permissions or extraneous files or themes on the remote server.

    Is there a single “how-to” documentation page where specific permissions settings are listed for what is required by WordPress files?

    I did have to change the permissions for .htaccess to use permalinks, but have changed that back to more rigid controls afterward. I’ve not just removed files I feel are not in use (generally) except for something like “uploads” (since I do all my uploading outside of WP) and I am not really blogging or using any commenting. No one is allowed to register, even…

    More soon. Thanks for being willing to even read and respond 🙂

    Thread Starter syncbox

    (@syncbox)

    Thanks whooami for responding so quickly… I just realized that this particular site isn’t 2.3, so I will start there…

    I did go into the db via phpMyAdmin and remove the name and url data that got added but of course, I know that isn’t the real source of the issue – just the result of being hacked. At least the sucker doesn’t get his/her name on my site for free.

    do you think I should start with upgrading first?

    TIA

    Don’t you wish those script/css gurus at pvii would make some cool wordpress widgets? I’m all the time bugging them to take a look at WP… I’d sure pay for my favorite pvii menu extensions ported to wordpress plugins!

    Thread Starter syncbox

    (@syncbox)

    sorry, somehow this post thinks it should be under installation and I cannot figure out how to change that. Can someone move this to a more appropriate place? This question has nothing to do with installation

    This does the same thing (use in sidebar) to list child pages:

    <ul>
    <?php 
    
    //CHECK TO SEE IF PAGE IS A CHILD PAGE OR HAS CHILDREN
    	if($post->post_parent) {
    	// page is a child
    	wp_list_pages('depth=2&sort_column=menu_order&title_li=&child_of='.$post->post_parent);
    
    	}
    //page is a parent
    	elseif (wp_list_pages("child_of=".$post->ID."&echo=0")) {
    	wp_list_pages('depth=1&sort_column=menu_order&title_li=&child_of='.$post->ID);
    	}
    ?>
    </ul>

    but still has the issue of displaying the siblings (and their child pages) which is a mess.

    If any one knows how to exclude siblings of the parent ($post->ID) that would be SO awesome!

    Even my script (which does work) displays the sibling pages of the parent… how does one turn those off?

    This is a great start on what I want. Now what I’d like is to NOT display the siblings of the parent page. for example, if I have:

    Nuts
    Vegetables
    Fruit

    and Fruit has child pages of

    Apples
    oranges
    kiwi

    What I currently get (using the menu from the updated version of the theme mentioned above) is:

    Nuts
    Vegetables
    Fruit
    apples
    oranges
    kiwi

    And I assume that if Nuts and Vegetables have child pages, they display as well (on all pages)

    I find it SO hard to believe that after all these years, no one involved in changing WordPress has thought of a way to display the child pages of a parent in the sidebar (while on parent OR child pages) without also displaying every other page in the site.

    Wouldn’t this be a basic necessity for the average site?

    I had a script that worked for v2.1 but it no longer works.

Viewing 15 replies - 271 through 285 (of 546 total)