SyCo123
Forum Replies Created
-
Forum: Plugins
In reply to: File Gallery thumbnails not square and random orderhummm, well it turned out to be the thumbnail size in the file gallery settings. They had changed from 150 to 290. No idea how, was not me. Has wordpress become sentient? :/
Reposted the messed up post, and it looks right again.
Forum: Fixing WordPress
In reply to: Gallery thumbnails not resizing right.hummm, well it turned out to be the thumbnail size in the file gallery settings. They had changed from 150 to 290. No idea how, was not me. Has wordpress become sentient? :/
Reposted the messed up post, and it looks right again.
Forum: Themes and Templates
In reply to: Widely theme has no paragraphs in postJan, thanks that’s having the same effect as not hacking the core! Handy workaround, still would prefer to fix though.
Forum: Themes and Templates
In reply to: Widely theme has no paragraphs in postcodingpet.com thanks for the reply. The tags are working fine in the theme 2011, the one that came with WordPress. In the Widely theme they are not. As the <p> tags are not saved with the content to the database I’m assuming at some point during the output the hidden \n character is converted to paragraphs tags. One theme is doing this fine, the theme I want to use is not. So editing in visual had no effect. I’ve hacked the code to make it work for now, so you can see paragraphs. When I originally posted the text showed as a single paragraph.
Jan, lol. I know, I know, hacking the codebase is a terrible idea, but it worked for now. Thanks for showing me a better way. I’ll see if I can do it the way you suggest.
One question. with the new plugin survive WordPress and theme updates in that location?
All I’m trying to accomplish is entering text in the normal way through the visual editor. When I hit return, a new paragraph shows in the visual editor. It saves that way and shows in the editor when I reopen the page to edit. However when I view the article on the front end, the <p> tags show in Theme 2011, but they don’t show in widely.
Really I’d like to track down the bug and squash it rather than workaround with a plugin. But I can’t spend half my life on this either. I chose WordPress to save me from having to code this myself and devote more time to running my photography business. If I wanted to code all day, I’d still be a programmer!
As someone who spent years helping out on PHP and photography boards, I truly appreciate your attention to this thread. WordPress isn’t my thing. 🙂
Forum: Themes and Templates
In reply to: Widely theme has no paragraphs in postOK so I hacked part of the codex
added
content=nl2br($content);
to wp-includes/post-template.php function the_content() before returning the output.That will do for now but would rather not be hacking and slashing the wordpress codebase. :/ any ideas what the proper fix would be?
Forum: Fixing WordPress
In reply to: class="blog" instead of a blogOK so I found what it was. So for anyone else that has this issue.
In “Settings > Reading > front page displays” Set front page to static, and leave Posts as -Select- I set it to blog and that’s what causes the class=”blog” problem.
Forum: Fixing WordPress
In reply to: class="blog" instead of a blogOnly custom code I did was set a flag to hid the twitter section. Couldn’t find an admin tool for that so just added a section to the logic. I’ve been working as a webdev in PHP for 10 years so plenty familiar with PHP.
Tried deactivating plugins, but that had no effect.
As this is a fresh install, I think I’m going to delete everything and start clean.
I find the most time consuming thing with WordPress is working out what it expects you to know. Now I’ve learned a bit about that theme, and have the images chosen and sized, I think a rebuild will be fairly painless.
Thanks for your attention to this anyway!
Forum: Fixing WordPress
In reply to: Headers already sent warning problemOh I just read again and saw you’d done that. WEll you can try accessing the PHP files directly through the browser (eg http://www.yoursite.com/wp-config.php) and seeing if one is giving the error.
Also use the ob_start code to trap anything in the wp-config file.
Forum: Fixing WordPress
In reply to: Headers already sent warning problemThis error is fatal and killing hte script before you get to use javascript.
You say you’ve cleaned the blank spaces but it’s possible you haven’t. I’ve seen weird bugs and sometimes it’s easiest to start again. Try making a new config file. Transfer the config info to the example, re-save as wp-config.php and FTP it to your WordPress folder.
Forum: Fixing WordPress
In reply to: website has disappeared…….It does get easier once you get into the WordPress mindset! Best of luck.
Forum: Fixing WordPress
In reply to: Logo and domain 404That was it. Nice one! Thanks very much.
Forum: Fixing WordPress
In reply to: Headers already sent warning problemI should add it’s possible the buffer is already started so if you don’t get the email, comment out ob_start(); like this
//ob_start();Forum: Fixing WordPress
In reply to: website has disappeared…….Same thing is happening to me
http://wordpress.org/support/topic/logo-and-domain-404?replies=1I noticed it happened when I was editing menus. Keep an eye on my question. Might help you out as well (and vice versa!)
Forum: Fixing WordPress
In reply to: Headers already sent warning problemPossibly an error/warning being output on /wp-includes/pluggable.php on line 881
You can try and trap the output using this code
<?php//you probably don't need to open PHP tags ob_start();//place this before line 881 //line 881 content (or other suspect content) //then capture the output soon after the suspect content $error_out=ob_get_clean(); //mail it to yourself to see what it says. mail('your@emailaddress.com','error output','-'.$error_out.'-'); //If mail is empty look for white space between the dashes. //probably don't need to close either ?>This will possibly fix the issue as it traps the output an prevents it being output before the headers are sent. However mail it to yourself and see if it’s something you can fix. If it moves the error line number repeat until you see what the problem is.
Forum: Fixing WordPress
In reply to: Upload HackedIt was undoubtedly hacked, but how? How was a .htaccess file uploaded to an image directory? I can’t imagine an uploader allows that kind of file.