latro666
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: I can't even access the website anymoreI’d findout who hosts the website and ask them to restore it to a previous backup as a first action before trying to fix it your self.
Forum: Fixing WordPress
In reply to: New post permalink slug redirects to other postsAh that might be the problem, WP is getting confused.
Give this post a glance
http://ottopress.com/2010/category-in-permalinks-considered-harmful/Forum: Fixing WordPress
In reply to: I can't even access the website anymoreDont panic
Who hosts your website? They should have a backup of your database you can restore from the previous day.
Forum: Fixing WordPress
In reply to: New post permalink slug redirects to other postsI had an issue changing slugs of taxonomies and it messing things up. Its always a good idea when changing slugs to load the permalinks page in settings and then save it to refresh the structure.
Does it do the same thing if you use letters instead of numbers at the end e.g. post-nameA or were you just using that as an example
Forum: Fixing WordPress
In reply to: How to add contact form fields?Try this plugin
http://wordpress.org/extend/plugins/contact-form-7/Its pretty easy to use and does what you need.
Forum: Fixing WordPress
In reply to: New post permalink slug redirects to other postsAre you using any custom post types and/or taxonomies with the same slug?
Forum: Fixing WordPress
In reply to: Numerical values after the slug are ignored???Ah, bit of a lightbulb. I assume this does not error as WP allows for a numerical value after the permalink to allow for page numbering? e.g. when there are older posts etc… /page/2.
But this works for any permalink as any permalink could be used to render a loop of posts.
I guess this is safe to still use to say cross reference the number with some other data, assuming of course the page will never need to rely on page numbering.
Forum: Fixing WordPress
In reply to: Numerical values after the slug are ignored???* buy theme i mean a seperate template applied to the page wit hthe /issue permalink.
Forum: Alpha/Beta/RC
In reply to: Warning: Illegal offset type in isset or emptyHi guys
I had this same problem using the OP’s link to that code, i’m pretty new to developing in WordPress but I managed to re-work the approach for the same effect by editing the templates where I wanted post types listed.
If you put the following code before any loop starts they will include any custom post types you want:
query_posts( array_merge( array('post_type' => array('post', 'yourtype')), $wp_query->query ) );