antistandard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom fields used like variablesThanks 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
Forum: Fixing WordPress
In reply to: List all posts in selected categoriesOh I see, yep that works well. Thank you David. I learnt something today. Nice.
Forum: Fixing WordPress
In reply to: List all posts in selected categoriesI 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.
Forum: Fixing WordPress
In reply to: List all posts in selected categoriesThank 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
Forum: Fixing WordPress
In reply to: Fatal error: Allowed memory size of 33554432 bytes exhaustedok, that seemed to work, and it doesn’t tax my system.
Problem solved I guess.
Forum: Fixing WordPress
In reply to: Fatal error: Allowed memory size of 33554432 bytes exhaustedLastly:
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].
Forum: Fixing WordPress
In reply to: Fatal error: Allowed memory size of 33554432 bytes exhaustedI 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.]
Forum: Fixing WordPress
In reply to: Fatal error: Call to undefined function: is_admin() “What theHey 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
Forum: Fixing WordPress
In reply to: EShop shipping in AustraliaHi 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.
Forum: Fixing WordPress
In reply to: EShop shipping in AustraliaHi 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
Forum: Fixing WordPress
In reply to: how to remove links on sidebar??Hi Sweetangst,
I tried what you suggested and it worked fine thank you.
James
Forum: Fixing WordPress
In reply to: How to make an excerpt longer?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
Forum: Fixing WordPress
In reply to: how to remove links on sidebar??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
Forum: Fixing WordPress
In reply to: how to remove links on sidebar??Thanks sweetangst, but still can’t find it.
No problem, I’m over wordpress for the moment anyway.Thanks again
Forum: Themes and Templates
In reply to: Single Category Archiveshi, 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 2and 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 ..