dougnbr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 404 error on 4th page of blog after 3.4 upgradeMay you live to be 1000 years old sir 🙂
I had the same problem, that fixed it!!
Forum: Plugins
In reply to: Issues with Article DirectoryAccording to this thread: cannot-post the plugin is no longer supported:
See Dimox’s article here: http://articlesss.com/article-directory-wordpress-plugin/
And the statement at the bottom of the page:
Further development and support for Article Directory Plugin and Theme is stopped.
Which is a shame, it was a popular plugin.
Forum: Fixing WordPress
In reply to: wp_update_post strips css id attributeI fixed my problem, by inserting the following code just before the call to wp_update_post.
global $allowedposttags; $allowedposttags['div'] = array('align' => array (), 'class' => array (), 'id' => array (), 'dir' => array (), 'lang' => array(), 'style' => array (), 'xml:lang' => array() ); $allowedposttags['iframe'] = array('src' => array () );Thanks again Mark, you saved me a lot of time!
Forum: Fixing WordPress
In reply to: wp_update_post strips css id attributeThanks for your posts.
I’m having a similar problem with wp_update_post. Not only is it stripping out the id, but it is also removing an iframe statement.
Interestingly it works fine when I call wp_update_post from the admin dashboard, but when I run it from wp-cron, it strips out the ID and iframe. I’ll start investigating KSES.
To be continued…
Forum: Fixing WordPress
In reply to: Uploading photo problems…suddenlyWhat directory is it uploading the images to? Maybe the permissions got changed on the directory somehow.
Maybe try uploading with FTP, see if that works.
Forum: Fixing WordPress
In reply to: site was hacked and now my posts are messed upIf you have FTP and a backup of your files, you can upload a backup copy of index.php to replace the current version of index.php.
Forum: Developing with WordPress
In reply to: How to show sidebar on some posts and not others?Not sure this is what you had in mind, but using your example with custom fields, just add an ‘if’, so that if the sidebar custom field == ‘none’, then don’t display any sidebar…
<?php $sidebar = get_post_meta($post->ID, "sidebar", true); if ($sidebar != 'none'){ get_sidebar($sidebar); } ?>Forum: Fixing WordPress
In reply to: site was hacked and now my posts are messed upThey might have hacked your index.php file.
I looked at your html source and it’s missing both the header and footer info (no style sheet, etc.)
Forum: Fixing WordPress
In reply to: How can wordpress show by just putting on my website?I’m not exactly sure what you’re looking for but essentially what you need to edit are the “theme” files. To start with:
header.php
index.php
footer.php
style.cssheader.php is where you put all the html header info.
index.php is where the main body of the webpage goes (the “loop”)
footer.php finishes up the page
style.css is the style sheet for the pageHopefully you’re not trying to write a theme from scratch, but if you are, start with one of the existing basic themes that comes with the WordPress installation “Classic” and “Default” and modify it. Good luck!
Forum: Fixing WordPress
In reply to: How can wordpress show by just putting on my website?And a couple more “starter” links…
http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start
Forum: Fixing WordPress
In reply to: How can wordpress show by just putting on my website?It’s not clear from your post whether you’ve installed WordPress on your site yet. If not, try this link:
http://codex.wordpress.org/Installing_WordPressBecause WordPress is so popular, your web host has probably made installing WordPress even simpler. You might try googling “WordPress” and your “host name” (for example: WordPress Godaddy) and see what comes up.
Doug
Forum: Fixing WordPress
In reply to: Help with content width not changingHello,
In your style-Default.css file,
change the width for #wrap to 955px
and the padding for #content to 0pxand that fixes it!
Doug
Forum: Themes and Templates
In reply to: Text-Align Issues with WordPressIt’s a problem with Wpautop not your style info. esmi is right in that it has something to do with blank lines confusing the Wpautop algorithm.
Excerpt from a blog article I wrote on the problem some time ago…
If you have extra
</p>, that you didn’t put in your post, try removing any extra spaces at the end of a line, or combine two lines into one larger line, or if all else fails try googling “wpautop paragraph bug”, etc…There is also a way to remove wpautop, but then you need to write your post in xhtml, so it’s a trade-off.
Forum: Themes and Templates
In reply to: What type of Theme do I NEED for future shopping CartHere’s the WordPress e-commerce plugin…
http://getshopped.org/And here’s a theme specially designed for it…
http://themeforest.net/item/wpa-storefront-the-ultimate-wpecommerce-theme/full_screen_preview/61891The problem with the WordPress e-commerce plugin is I believe it currently only works with Paypal Standard, no merchant accounts, etc.
If you’re looking for a more robust e-commerce solution you might want to look at something like zencart or Magneto. Such as: http://themeforest.net/category/magento
And yes, you can in theory make any theme into an online store with enough hacking/tweaking, if you’re a good coder. If you don’t want to deal with coding, another option is to just go with an “all-in-one” solution like: Yahoo small business: http://smallbusiness.yahoo.com/ecommerce/plans.php
Doug
Forum: Your WordPress
In reply to: My site about what ever pops in my head!Like eric said, “It’s loading pretty slow”
To speed things up you might try limiting the number of blog posts on the front page to 5 or so, and/or use the more tag.