Forum Replies Created

Viewing 15 replies - 16 through 30 (of 57 total)
  • Thread Starter antistandard

    (@antistandard)

    Thanks Keesiemeijer.

    Also, where is the simplest instructions for using custom fields in wordpress without a plugin please. Some instructions that simply outline the most basic of ways to just add custom field calls into a wordpress page.

    Thank you

    James

    Thread Starter antistandard

    (@antistandard)

    Oh I see, yep that works well. Thank you David. I learnt something today. Nice.

    Thread Starter antistandard

    (@antistandard)

    I almost have it:

    1 <?php query_posts(‘category_id=4,3’); ?>
    2 <?php while (have_posts()) : the_post(); ?>
    3 <?php the_category(‘, ‘) ?>
    4 <? the_title(); ?>
    5 <? the_content(); ?>
    6 <?php endwhile; ?>

    I just need to loop lines 3 to 5

    This is just raw testing so please disregard the formatting.

    Thread Starter antistandard

    (@antistandard)

    Thank you. Yes I was thinking that. Maybe I need a ‘for each’ loop so that:

    for each category, list all posts

    Is that possible?

    Thanks for your time David

    ok, that seemed to work, and it doesn’t tax my system.

    Problem solved I guess.

    Lastly:

    I went into php.ini and changed the memory limit to 80M just to go overboard and hope I don’t get errors in WordPress anymore which makes a 30 minute job take 30 days.

    I’ll post up an update if it all goes well and hopefully others can benefit from my trial.

    With cross-browser incompatibility and wordpress errors and people still using IE6, I just don’t know why we can’t just make this all simple with more stable updates (don’t release an update until it is 100% stable [moronic name calling deleted]), upgrade yor browser, use firefox, and get a mac.

    I mean it’s not that difficult [moronic name calling deleted].

    I changed my memory limit in wp-settings.php and then it gave me this error:

    Fatal error: Call to undefined function is_admin() in /sitepath/wp-includes/vars.php on line 16

    [Content moderated.]

    Hey everyone,

    I had the same problem and fixed it this way:

    1. I get the error about memory limit when I am trying to auto upgrade a commerce plugin.

    2. I went into wp-settings.php and changed 32 to 64

    3. i get the ‘Fatal error: Call to undefined function: is_admin()’ error and I can’t get into the site on any page and the sky goes dark and I hate wordpress.

    4. I read this thread and decide to not get too dramatic just yet, so I manually download wp 2.9.1 and copy across the files : wp-setings.php and vars.php to my site that is down.

    5. Now it is back up and running again. So I recommend just trying this first before you backup databases, content folders etc.

    Thanks for this thread, it helped me out. Help bloggers rule.

    WordPress dev team – dudes, seriously, how can you release even such a minor update and have it break heaps of peoples sites. It makes us loose faith. Less updates, more stability I say. WordPress is flippn awesome but when something goes wrong the whole wordpress structure goes to hell. Less updates, more stability please.

    Thank you

    Thread Starter antistandard

    (@antistandard)

    Hi Elfin,

    Thanks for your help.

    I am going to give up, I’m sorry.

    I don’t want to sound like a dick but everytime I change the state code it says it’s not valid, then it doesn’t tell me why, and I can’t get it to not think that WA is western australia not washington state.

    I think it’s just works better for the usa. It’s cool, i’m not complaining but i need a solid shop that makes me feel confident since i will be exchanging a good amount of goods and money.

    it’s a great plugin as i mentioned before. it works really well except the shipping kills me.

    thanks again for an awesome plugin.

    Thread Starter antistandard

    (@antistandard)

    Hi Elfin,

    Thanks for your reply. I sort of understand the first part of your answer about zone 1 and 2 but unfortunately you lost me with the second part of your answer.

    Would it be too much to ask you to rephrase it and maybe make it a little more detailed.

    Thank you, I appreciate your help and time.

    James

    Hi Sweetangst,

    I tried what you suggested and it worked fine thank you.

    James

    Thanks LenK for your solution. It is the best one I have read on the net and I have read a billion of them.

    If anyone needs to change the length of the excerpt and also change the […] to a link to the full article then do what LenK suggested in your themes functions.php page:

    remove_filter(‘get_the_excerpt’, ‘wp_trim_excerpt’);
    add_filter(‘get_the_excerpt’, ‘custom_trim_excerpt’);
    function custom_trim_excerpt($text) { // Fakes an excerpt if needed
    global $post;
    if ( ” == $text ) {
    $text = get_the_content(”);
    $text = apply_filters(‘the_content’, $text);
    $text = str_replace(‘]]>’, ‘]]>’, $text);
    $text = strip_tags($text);
    $excerpt_length = x;
    $words = explode(‘ ‘, $text, $excerpt_length + 1);
    if (count($words) > $excerpt_length) {
    array_pop($words);
    array_push($words, ‘…’);
    $text = implode(‘ ‘, $words);
    }
    }
    return $text;
    }
    ***** where x = excerpt word length******

    and

    change the line:
    array_push($words, ‘…’);

    to:
    array_push($words, ‘ID) . ‘”>’ . ‘… [ Read Full Article ]’ . ‘‘);

    the only other thing you need to do is open your themes index.php page and change <?php the_content(); ?> to:
    <?php the_excerpt(); ?>

    hope this helps

    james

    Thank you sweetangst,
    the explaination you just wrote was well written and easy to understand. Oh I wish everyone could explain things on the net like you do. ??
    I will try what you suggest, as I didn’t look in the default_widgets.php file….I was looking in the widgets.php file.
    Strangly though, I did search for the word ‘meta’ on my WP folder using dreamweaver and it still didn’t show me that it comes up in default_widgets.php.
    Anyway, am sure you are right and I will check it out later tonight. Just wanted to say thanks for your patience and excellent assistance and cute smile in your avatar photo to boot.

    Merci

    Au revoir,

    James

    Thanks sweetangst, but still can’t find it.
    No problem, I’m over wordpress for the moment anyway.

    Thanks again

    hi, i want to do the same as hearsaychris, but i find the category template idea confusing not to mention the actual help pages on it.

    i don’t see why i can’t just make two sidebars A and B,

    then put them both one underneath the other so it may look like :

    –sidebarA–
    pages
    archive 1

    –sidebarB–
    meta
    archive 2

    and then for archive 1 I have :
    <?php wp_get_archives(‘cat=5’); ?>

    and for archive 2 I have :
    <?php wp_get_archives(‘cat=1’); ?>

    …….why is wordpress not this simple? seems like a logical and good starting point for me, but alas ..

Viewing 15 replies - 16 through 30 (of 57 total)