Doodlebee
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Interesting query questionYeah, I know. it totally looks like it should just add it to the “skip” query. And it is – oh wait. Oh [expletive] you’re right! There’s only 3 posts in this category – and the first two are already being skipped (because they are already in the “skip” array)
Yay! Oh seriously. You are my HERO. Thank you so much!
(I still think I should get you a prezzie.)
Forum: Fixing WordPress
In reply to: Interesting query questionYou know, Michael, I was wondering about you the other day. You are *such* a huge help, and lately I’ve found your posts in the forums to be incredibly helpful – I havent even needed to ask because you’ve got the answers posted all over the place already.
I must buy you a prezzie. You have to have a wishlist or something somewhere, so share it :P~
As for your solution – it *almost* works. (THANK YOU) It does skip posts that are already shown, but in the category that’s skipping, it shows 1 post. I still need to to show a second post if one is skipped. That’s my conundrum. (it doesn’t look like it shoudl be doing that though…it looks like it should still be pulling 2 posts. So weird.)
Forum: Plugins
In reply to: [Plugin: WP-DB Backup] cannot open archiveOkay, I’m thinking I know what the issue is. The file WP DB Backp generated said it was only 2.1MB in size. I just got access to phpMyAdmin to do my own export manually… and it’s 30.1 MB.
Perhaps that’s the issue – the site is too large for this plugin (and it *is* a huge site).
I don’t know if that’s truly the case, but… just thought I’d mention it.
I’m marking this as “resolved” because it’s resolved for ME – but not because the plugin started working. Maybe it’s something worth noting?
Forum: Fixing WordPress
In reply to: grab more link as variable?Yeah, that *is* what I ended up doing, but for some reason, it’s not taking. I’m troubleshooting more (there’s got to be some odd reason as to why – maybe a good night’s sleep has helped and I’ll see it), but i was hoping for something a little simpler than that. Oh well, whatever works I guess 😉 If I figure out why my code isn’t taking, I’ll post the solution.
Thanks! 🙂
Forum: Fixing WordPress
In reply to: Home.php not taking.Gah. nevermind. Apparenty after adding the “Template Name:Home” stuff, the new template showed up in a dropdown. Typically I don’t need to do that – but when I chose the “home” template, it took. (It’d be nice to know if something changed though – i dont’ remember even having to do that before.)
Forum: Plugins
In reply to: Twitter-style “more” button: RequestYou could probably pull it off with jQuery. You’d just set your posts to display… well basically all of them – probably with a query (query_posts(‘showposts=-1’); I believe, will show all posts)
You’d have to use jQuery to set how many to hide or show, and then use the toggle or show/hide function to do it. The *issue*, I believe, would actually be on *loading* so many of them. With jQuery, you’re loading them all, then show/hiding on the page. So if you have thousands of posts, your page would be loading for a long time.
It’s possible, but you’d probably want to think about the load time. perhaps, instead, load 50 posts per page (without a query), and set the jQuery to “show” every 10 posts. Once it hits 50, the default archiving system should take over.
Forum: Plugins
In reply to: Version check?…and yes! Perfect! thanks!
Forum: Plugins
In reply to: Version check?Thank you so much whoo 🙂
Forum: Themes and Templates
In reply to: ink_before and link_after not working with wp_list_pagesFound it. There’s a little preg_replace trick that pulls it off nicely.
<?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_categories('echo=0')); ?>It as a little tricky for me at fist, because every place I found this, turned out the “curly quotes” were messing me up. Also, you MUST have “echo=0” in the wp_list_categories for this to work properly. Otherwise, it’s worked a treat!
Forum: Themes and Templates
In reply to: ink_before and link_after not working with wp_list_pagesI’m in need of the same thing. I’m trying to implement “sliding doors” to my category horizontal navigation – and span tags are needed before and after the text in the link.
If I find a solution, I’ll pots it – but hopefully someone else might have an idea. I’m thinking creating a custom array of some kind and injecting it into the walker Class might work – problem is, I’m not exactly sure how to do that 😉
Forum: Requests and Feedback
In reply to: How secure is wordpress? Not very.…and your file/folder permissions were set at? Is your password based on a word that can be found in the dictionary? Since first hacking, have you changed all your passwords (including the database log in)? This was a warning set by Google, you say? Did you contact your *host* to see if the host had been compromised in some way? (if someone else on your shared server had been hacked into – WordPress site or not – they can gain back end access and it affects *everyone* on the server) Did you follow these WordPress instructions on securing your site? Or are you just blaming WordPress because it was what was noticably affected? (BTW – the fact that your HTML files were not affected tells me that they don’t have access to the actual filesystem, instead you have something left with open permissions that should not be. My *guess* would be your wp-content/themes/green-marinee folder is it.) Did you ensure it wasn’t hacked *before* 2.8.4? If it had been, and you upgraded without changing your passwords, then the hacker could still gain entry (because they already know how to get in).
I’ve run WordPress sites for years. I take steps to ensure my file/folder permissions are correct, I use the salt in the wp-config.php file (which has been available in WP since 2.6 – maybe earlier), and I only edit themes locally and upload via FTP – NOT through the editor in the back end, and I ensure my passwords are at least 16 characters long, and accept alphanumeric characters as well as other symbols (as well as change the default login name from “admin” to something else).
The 2.8.4 was a security patch that fixed an earlier 2.8 version that would allow a hacker to gain access to your site. A note: as soon as the vulnerability was discovered, they released a patch for it. WP is on top of things.], but you need to be responsible for the security on your own site as well. Don’t be so quick to blame – especially when you haven’t fully investigated the source of the problem.
Forum: Fixing WordPress
In reply to: Check if a custom field exists<?php $key = 'field_name'; $themeta = get_post_meta($post->ID, $key, TRUE); if($themeta != '') { echo 'your text'; } ?>Forum: Everything else WordPress
In reply to: diffrent navigation on diffrent pagesI might be able to guide you on *how* if you told me what you were trying to *do*. You ask general questions with absolutely no specifics at all, that’s the exactly kind of answers you’re gonna get. Yes, you can put different sidebars on different pages. That’s what you asked. As to *how*, well there’s are tons of ways to do it, and it’s multiplied exponentially by the tons of outcomes you will get.
So why don’t you try rephrasing the question, and maybe you’ll get a more specific answer.
Forum: Fixing WordPress
In reply to: where are the font settings for the Visual Editor?No, it’s doesn’t *say* “show.hide” – you HOVER over the button and the alt text says it. You don’t move/click anything *on* that button, you just click the button. Clicking it will cause the “kitchen sink” to show, and you’ll get your settings.
Forum: Fixing WordPress
In reply to: Permalinks, .htaccess, and error 500Glad you got it sorted, Michael.
Ellen, you don’t use /year, you use %year%. There’s code below each setting to tell you how to use the pretty permalinks settings.