question
stringlengths
0
34.8k
answer
stringlengths
0
28.3k
title
stringlengths
7
150
forum_tag
stringclasses
12 values
WordPress obviously comes from a blogging background but can be used to serve sites with a lot of Pages. However, where it falls short for me is not in regard to performance but in the Admin area's handling of lots of Pages, child pages etc. It quickly becomes a chore to move through the list of Pages trying to find wh...
I use the CMS Tree View plugin , and it works very well. It collapses all your pages under their parent pages, among other features.
How can we make managing lots of pages in WordPress Admin better?
wordpress
I'm working on a site for a local homeschool group, and they'd like to have a page(s) with a member directory on the site. Any suggestions? Something like the Business Directory plugin would probably be great, just more focused on listing individuals. Edit: I actually want a plugin that lets me create listings manually...
Hi @tnorthcutt Hey, based on your requirements I'd suggest you consider just using <a href="stackexchange-url Custom Post Types with custom fields and defining your own layout. That way you won't be painted in to the limitations of a plugin that doesn't meet you needs exactly, and it sounds like Custom Post Types will ...
What is a good member directory plugin?
wordpress
I wish to create something like CrunchBase.com with WordPress.org (So to have one website that is a "database", and another one, which is a blog, that connects to it). Is it possible? and how? Thanks, Tal
@Tal Gailili : Absolutely , WordPress would be a great platform for a CrunchBase clone! Use Custom Post Type and Custom Taxonomies What you want to look at are Custom Post Types and Custom Taxonomies [see <a href="stackexchange-url this answer I gave on a very similar subject]. Example Code for your Company's Post Type...
Implementing a CrunchBase.com Clone using WordPress?
wordpress
I started a blog recently. Currently I'm using a free theme and some plugins that are working well enough for now. And, my overall goal is to produce content and not become a WordPress developer, etc. In the meantime, I do need to upgrade my technical skills. I have one goal of customizing my current theme within 1 -3 ...
W3Schools http://www.w3schools.com/ is agreat site for learning about HTML, CSS, PHP etc..
I'm looking for some good references (manuals)
wordpress
My site has a theme which I created myself, and while it works, I often have to tweak the theme or use plugins to modify the appearance or behaviour. I've been looking at ways to modify my theme so that there's less jumping around to make changes. Ideas include some basic SEO, gallery functionality, fields for analytic...
It's all site-dependent. I have a few core things I build in to any theme's functions.php though: Change logo on admin page to suit the client's company Hide WP-Stats smiley graphic Hide WP.me short URLs and replace with their chosen provider Add option for Twitter, Facebook, and Buzz buttons and ability to pull in Twe...
Building useful features into your theme
wordpress
The Plugin developer center says "Your plugin must be GPLv2 Compatible.". But I found that the Topsy plugin is under GPLv3. http://www.gnu.org/licenses/rms-why-gplv3.html states that GPLv2 and GPLv3 are incompatible. So should this be allowed? I want to use some code from the Topsy plugin. Then, should I release my plu...
If you're following the rules (you never want to start out by breaking them), then any WordPress plug-in you write and submit to the repository must be licensed as GPLv2. There was a huge storm of discussion over this last year because the example readme file mistakenly said "GPL, version 2 or any later version" ... wh...
GPL and plugins
wordpress
While I've been able to get this working for normal WP categories I've been unable to get it working for custom taxonomies. I'd like to loop through each custom taxonomy (categories in my case) and produce a number of posts for each. An example of the output would be: <code> Category 1 post from category one post from ...
I thought I would provide another answer as the above one is a little hacky, also I added another layer that gets all taxonomies for a post_type. <code> $post_type = 'post'; // Get all the taxonomies for this post type $taxonomies = get_object_taxonomies( (object) array( 'post_type' =&gt; $post_type ) ); foreach( $taxo...
Loop through custom taxonomies and display posts
wordpress
Is there an API I can call, inside my plug-in, to determine the plug-in's version? I just want to have my plug-in emit a html comment with it's own version number ... for diagnostic purposes.
@david : Both @Adam Backtrom and @Viper007Bond give some good advice so I thought I'd take their advice and see if I couldn't implement something, see below. What follows iS a plugin called WP Active Plugins Data that parses the header metadata for all active plugins anytime any plugin is activated and it stores all th...
Is there a way for a plug-in to get it's own version number?
wordpress
I'm working on a plugin that would ideally be able to do things when a user does something through a different plugin. I can add custom hooks in those plugins but obviously this wouldn't work well for when I want to distribute my plugin. Is there a good way to add hooks to other people's plugins from my own plugin? Is ...
@Ryan Elkins: I guess the answer depends on how import each use-case is to you. In some cases it would be something you need quick-and-dirty, in others it might be a more significant use-case. Here are the two things that come to mind: Look for Alternate Hooks within WordPress Core If it's something quick and dirty som...
Hooking in to plugins
wordpress
I have a plugin that, among other things, has a javascript file that requires a few user specific settings. What would be the best way to get those settings into javascript from the plugin's settings parameters? In other words, if I make those settings part of the settings page where the user can enter them, how would ...
better is, you use the functions of WP for this, a example for multilanguage: <code> add_action( 'admin_enqueue_scripts', 'add_scripts' ); function add_scripts($where) { wp_localize_script( 'post2media', 'post2media_strings', $this-&gt;localize_vars() ); } function localize_vars() { $strings = array( 'btntext' =&gt; __...
Modifying a JS file with data from plugin settings
wordpress
How do I add stuff to themes such as Arjuna-X without losing it when the theme is updated? Are child themes a good way to do it or are there other options? What if a new version of the theme comes out with native support for a feature I added?
There are three ways to do this Functions.php Put your additions in functions.php and back up that file before you update your theme. Then you can port over any additions as necessary. Child theme Build a child theme that adds the functionality - in reality, this would be an even better way to use a custom functions.ph...
Adding goodies to themes
wordpress
What is the best way to have multiple blogs on one site? I am not talking about Multisite. What I want is one website with 5 blogs. All accessible from one menu and editable from one backend, I could use categories, though I am looking for something else. Multisite would take a lot of tweaking.
If you don't want to use Multisite , yet still want to have multiple blogs with a common backend, another idea is: Customize your theme's Author Templates so each author's "blog homepage" has a distinct design Create several different stylesheets, one per author. Use some conditional logic to display the appropriate st...
5 blogs on one WordPress site
wordpress
What would be your suggestions for learning CSS and WordPress theme development ? I have been using WordPress for over 4 years now, but I have never really gotten comfortable with CSS or theme design (I could tweak it here and there, but that's not really doing much). I would love to be able to do these, but don't know...
First of all differ between the stuff. WP is not CSS and CSS is not WP. But WP themes make use of CSS. So if you learn about CSS you're basically not doing wrong (good thing with CSS is, it is common between all websites). The other part is HTML. And then you have PHP. So these are three computer languages that are use...
How to start learning CSS and theme development?
wordpress
I have a WP backup file of sample content I use when I set up a new site on my WP multisite install (I use it for theme dev work for clients). Is there a way to trigger the import function to fire when I create a new site? I've looked at the WPMU blog defaults plugin, but there are features it doesn't have that I would...
Have a look at this plugin http://wordpress.org/extend/plugins/wp-dummy-content/stats/ It is random content so if you need to always to load the same content you will have to look at the code and create your own version. One pain of theme development is setting up all the pages and blog posts in order for you to see ho...
Is there a way to trigger an automatic import of a WP backup on creation of a new WP multisite site?
wordpress
WordPress is quite a memory hog, and I've been thinking of using nginx rather than apache. The one major consideration before doing that is if there are any plugins which will stop working. I have tested a few and they seem to work, but I need to find out if there are any which might break.
I unfortnately have no experience with this but evidently it can be done as these articles and plugins address some of the issues: HOWTO: Install WordPress On Nginx WordPress + nginx Compatibility Plugin Howto nginx + wordpress + ubuntu shortest setup Nginx front-end proxy cache for WordPress WordPress Pretty Permalink...
What issues would you face if you use Nginx
wordpress
Where can I find a list of all the WordPress hooks and over-ridable functions (pluggable, scriptable, etc)? Edit: Plugin is here: stackexchange-url ("stackexchange-url
@Arlen: As Keith S points out Adam Brown's List of Hooks is the defacto resource of hooks for WordPress. However, it's not perfect: It doesn't show the hooks in order of when they are called, It doesn't provide file name or line number where invoked, It doesn't provide a number of arguments passed, It's not a complete ...
Where Can I Find a List of WordPress Hooks?
wordpress
I am already using Piwik to register all stats of my blog site. What I need now is a simple and lightweight plugin that stores the number of visitors for single posts. It would be nice if it provides a way to show the number of readings inside the post.
I think you want wp-postviews
Looking for simple and lightweight plugin for post reading stats
wordpress
I am using Similarity by David Miller; it is nice, but it misses some features. I would like to: Assign more "weight" on some specific posts (specify them by ID is ok) Assign more "weight" to most recent posts (the plugin that I am using it prefers many times very old posts based on tag/category than recent) Do you kno...
I think http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/ might help..
Looking for similar posts plugin with custom tuning
wordpress
I turned on debug mode in WordPress and the first request of the day I get this error: Warning: http_request() [function.http-request]: Timeout was reached; Operation timed out after 1000 milliseconds with 0 bytes received (/wp-cron.php?doing_wp_cron) in /public/wp-includes/class-http.php on line 1218 I know what cron ...
It's a bug: http://core.trac.wordpress.org/ticket/11831
Why do I get the timeout warning?
wordpress
I have found and downloaded a theme. However I want to tweak the CSS some to change the design, colours etc. a bit. How should I go about doing this, while still being able to update the theme without loosing the changes.
While you can't modify it without changing it, you can isolate the parts you change by creating a Child Theme. In summary: Create a theme directory on peer with your "parent" theme, Create a <code> style.css </code> file in your new directory that has a <code> Template: </code> declaration in the comments naming your p...
Customizing a WordPress theme without changing it?
wordpress
What software do you use for your WordPress related needs? Please state your OS. On windows XP I use: filezilla (FTP) notepad++ (for reading of PHP / CSS files) firebug (a firefox extension to allow me to play with a website elements) Other things which I don't use regularly, but would like to use more - xaamp (local v...
OS Windows 7 x64 Using PhpStorm excellent non-free IDE, a lot of focus on speed and productivity Xdebug debugger, a lot of useful functions to dump, trace stack, profile WinSCP secure file transfer, folders sync, remote editing, backup Uniform Server WAMP stack, portable, up to date components Internet Explorer Collect...
Software for WordPress Theme and Plugin Development?
wordpress
I recently wrote my first WP plugin that adds a shortcode for embedding a custom jquery image gallery into posts. It's primarily just dumps a good chunk of HTML into the post, along with javascript necessary for initialization. However, I had to build the HTML output procedurally, as a string in PHP. This kind of tag s...
@Byran M. I tend to use two constructs I don't often see other WordPress developers using often, which surprises me, but I like them a lot. 1.) Heredocs You can store large blocks of text as heredocs string that might look like this so I can store worrying about mixing single and double quotes: <code> $html=&lt;&lt;&lt...
dealing with large HTML output via plugin code
wordpress
My WordPress admin is constantly nagging me to upgrade to version 3.0. However, we use the Flutter plugin to provide all our CMS-like features. It's a pretty great plugin, but it doesn't seem to have been under active development lately, and I hear grumblings it's not compatible with WP 3.0. Is anyone having luck with ...
Magic Fields is very similar to flutter and is compatible with WordPress 3 If do you want switch between flutter to magic fields you have here a little help for do it http://magicfields.org/script-for-migrate-from-flutter-v-1-1-and-1-0/
Will Flutter work with WordPress 3.0?
wordpress
I'd like to show post comments on their own page without the parent post. I know I can use wp_list_comments() on the single post page and pass a callback function to use my own comment display markup. I plan to do this so I can include a link with each comment that will show that comment on it's own page. If this weren...
You could probably just create a new page in WordPress, and give that page a custom template. Then the url would just be whatever it normally would be to get to that page. The only difference is that the custom template you are using would be setup to accept the comment_id via the querystring, and then just get the det...
Linking to Page Showing Only Comments Without Parent Post
wordpress
My wordpress required me to check some Trackbacks and I checked and accepted them. They are listed in the comment administration and I activated "allow Trackbacks/Pingbacks on this page" on the relevant articles and pages. But they do not appear below the relevant posts and pages. Comments are displayed, but not Trackb...
On what posts did you expect a trackback? SimpleX should support trackbacks, but displays them in a separate box .
Why do Trackbacks/Pingbacks not appear below my posts/pages?
wordpress
I would like to have a single post on my front page (always the latest), but let normal paging work. So the front page has post 1, the next page should have post 2-11 (1-10 is fine too), then 12-21 or 11-20, and so on. I know I can stackexchange-url ("change the number of posts depending on the context"), but setting t...
I solved it using the <code> offset </code> query parameter . This allowed me to edit the query in the <code> pre_get_posts </code> hook, and seems to be the cleanest way to do this, without a new query. Now the home page shows only one post, and <code> page/2/ </code> shows posts 2-11. All links keep working, no other...
How to show a single post on the front page but have normal paging?
wordpress
In my plugin, I want to test to see if jQuery or Prototype (or both) are going to be loaded by another plugin. So, have <code> wp_enqueue_script('jquery') </code> or <code> wp_enqueue_script('prototype') </code> has already been called. I have code appropriate to my plugin in files <code> plugin.prototype.js </code> an...
Use <code> wp_script_is() </code> to check if a script is in the queue. <code> function add_my_scripts() { $doing_jquery = wp_script_is('jquery', 'queue'); $doing_prototype = wp_script_is('prototype', 'queue'); var_dump($doing_jquery, $doing_prototype); } add_action('wp_print_scripts', 'add_my_scripts'); </code>
Test to see if jQuery or Prototype is queued by another plugin?
wordpress
I have a client who wants to put on an event. She wants to manage it on her site. The requirements: Display information about the event Sell tickets and correlate with name and email address Payment for tickets via PayPal Allows for cancellations / returns if they happen It may be a recurring event, so allow people to ...
This one is the best I know of: Event Calendar / Scheduler The main features include: Day/Week/Month/Year/Agenda view + ability to create custom view Drag-n-drop support to configure event date and time Customizable appearance Single/multi-days events (daily, weekly, monthly or yearly basis) Customizable time scale Rec...
Plugin for event management?
wordpress
Use case: I have a post type that relates to a music show. The 'show time' is grabbed through the post publish date which is set to some time in the future. I've found a function that takes future dated blog posts and leaves the date but marks the post as published on save but haven't been able to figure how to customi...
Awesome combining both the answers from Mike and Jan I came up with this which works only on the post type in question. We don't need the conditional of show because the 'future_show' hook only grabs the post type of show and updates that. <code> &lt;?php function setup_future_hook() { // Replace native future_post fun...
Marking future dated post as published
wordpress
I need to have an alternating (even, odd...) class on posts to provide alternate highlights on a column. The best thing would be to attach this to the post_class() so that it's on every instance of post_class(). Below is the code I have at this point to achieve this effect. <code> &lt;?php // setting other variables fo...
You should add the following code in <code> functions.php </code> : <code> add_filter ( 'post_class' , 'my_post_class' ); global $current_class; $current_class = 'odd'; function my_post_class ( $classes ) { global $current_class; $classes[] = $current_class; $current_class = ($current_class == 'odd') ? 'even' : 'odd'; ...
Alternate post_class on each post
wordpress
Everytime WordPress stats updates, I need to provide the API key. Is there some way to automate this?
This is why: http://plugins.trac.wordpress.org/browser/stats/tags/1.7.2/stats.php#L685 The deactivation hook deletes your database information. I'm guessing you're manually deactivating the plugin, updating, and then re-activating? If so, that runs the deactivation hook. Fortunately, that's not from the latest version....
WordPress stats API key
wordpress
I use Art Direction plugin to create customized posts sometimes. I also want to use Super Cache plugin for traffic spikes. However I've found that once you have Supercache activated Art Direction plugin no longer works, due to the way Supercache renders your html. Is there anyway to get around this? Or is there another...
I believe the only way to currently get around this is to not directly use Art Direction but replicate that functionality yourself. There are a few pages that talk you through doing that: http://digwp.com/2010/02/custom-css-per-post/ http://wordpress.org/support/topic/plugin-art-direction-conflict-with-wp-super-cache H...
Plug-in Conflict: Art Direction and Super Cache
wordpress
Aside from the actual WordPress dashboard, what tools are available for writing posts, moderating comments, and otherwise administering your site? Please identify whether you're referencing a desktop tool, a web-based tool, or a mobile tool.
Windows Live Writer Windows Live Writer (WLW) is hands down the best, if you are on Windows. One of the things I love about it is its plugin architecture and how many people have written useful plugins for WLW . Qumana I searched far and wide for an equivalent on the Mac and didn't find a match but came close: Qumana :...
What tools are available for managing/writing to WordPress?
wordpress
I'm posting this as a community wiki because I'd like to get a collaboratively edited list of features for a high-end WordPress webhost. For example, if you are running a high-traffic WordPress-based site and/or a WordPress site that needs really hardened security what features would you love to see offered so that you...
I think we also need a few more features: Minifying JS, CSS and the HTML that is being sent down the wire. Caching the op-code of the PHP that will be generated (apart from Memcached). Upload the JS, CSS and Images that are used in the theme and/or plugin to a CDN and sync automatically. Option to use one of the public...
Best-of-Breed Features of a High-End WordPress Web Host?
wordpress
First of all, I can't use Trac, which is what the WP dev community uses to track bugs. However, my consulting company is using WordPress as a CMS for just about everything - product information, sales portal, news site, etc. I'd like to set it up to integrate our plug-in listing with a bug tracker ... Right now, I have...
I don't see any reason not to make WordPress into a bug tracker. Essentially, tickets would be a non-hierarchical custom post type which would have several taxonomies, such as priority, status, etc.
Integrating WP as a CMS with a Bug Tracker
wordpress
I'm updating plugins installed on my wordpress site. However, for almost an hour, it's still doing maintenance mode. When I accidentally hit reload, I got BIG white screen of death saying: "Briefly unavailable for scheduled maintenance. Check back in a minute." Is there anything I can do to fix this mess?
How to clear the "Briefly unavailable for scheduled maintenance" message after doing automatic upgrade? As part of the automatic upgrade WordPress places a file named <code> .maintenance </code> in the blog base folder (folder that contains the wp-admin folder). If that file exists, then vistors will see the message Br...
Plugin upgrade issue
wordpress
My team and I are working with a client who has an existing WordPress site with a fair bit of content and a custom theme they built. It is a group blog, meaning it has several bloggers all around the world who are adding &amp; editing content all the time. Our job is to create an entirely new theme, with quite a few ne...
If you follow SethMerrick's advice, you can greatly reduce the switchover time by lowering the TTL on the appropriate DNS records to 5 mins or so several hours (depending on what the current TTL is) before you change the IP address. By doing this you are telling remote DNS servers to only cache the address for 5 mins. ...
Do you have any effective strategies for launching a v2 of a WP site?
wordpress
I want to allow readers of my WordPress-driven sites who comment frequently the ability to sign up and have their own account on the site. However the ratio of actual readers versus spam scripts using the sign-up form is something like 1:100. Is there a reasonable solution for preventing these bogus accounts from being...
Sabre is great plugin, it allows me to block dozens of spam user registration per week. It has also many useful features to control the style and captcha's complexity.
How Do I Prevent Junk Account Creation?
wordpress
Most people are aware that minimizing the number of plugins used is a good way to help keep a WordPress site running fast. However, does that general rule include deactivated plugins?
No it doesn't. At least, not on the front end, or in the back end in any non-plugin area. WordPress only loads files whose filepaths are stored in the active_plugins option in the database and ignores everything else completely.
Do deactivated plugins slow down a WordPress site?
wordpress
I would really like to add @anywhere support to my blog, as my posts usually mention two or three Twitter users. I'm not much of a code monkey though, and so I'm looking for something that adds @anywhere without me having to do too much configuration. Is there a plugin available where I can add @anywhere and configure ...
I use Otto's Simple Twitter Connect . It's pretty amazing, and doesn't require too much configuration.
How can I add @anywhere to my blog?
wordpress
I'm using SEO Ultimate. The 404 monitor module is reporting several 404 errors. The errors are reported for urls that do not exist; 3 of them did exist as drafts but were never published. I checked my xml sitemap, but no luck there. Additionally, the link checker is not showing any broken links. Anyone experienced with...
Check the referring URL and the user agent. Usually these are caused by robots that found a link to the draft or happened to be scanning your site while you were previewing the posts. I wouldn't worry about it unless it was an actual user that was getting the error.
An issue with SEO Ultimate
wordpress
Twice now I've updated wordpress, only to realise that (facepalm) it overwrites some changes I've made to the custom template - to sidebar or something similar. Obviously I don't HAVE to update, but it's better to for add-ons etc, and I like having the latest products and bug fixes. What are other people's strategies f...
Very simple : if you use the default template, rename it folder name and css file declaration) and it won't be updated. If you want the updates (for instance the Twenty One is often updated), create a child theme . Infos here : http://codex.wordpress.org/Child_Themes
Updating WordPress overwriting customization tweaks - strategies?
wordpress
My WordPress now is at version 2.7. I want to upgrade it to 3.0.1 using Auto update function. I'm using FTPS connection type. The upgrade should be straight forward, however, I keep on encountering this error: Installation Failed Downloading update from http://wordpress.org/wordpress-3.0.1.zip … Unpacking the update… V...
Auto update doesn't always work, it almost always works. I'd just upgrade manually and not worry about it. The few times I've had an auto update failure it succeeds the next time a new version comes out (after I'm manually updated during the breakage).
WordPress 3.0.1 Auto Update Problem
wordpress
Sometimes I want to develop WordPress themes when I have no internet connection. I need the Function Reference and Template Tags to be productive. I searched for a downloadable or SVN copy of the Codex but could not find one. I ended up trying to mirror it using <code> wget </code> , but the results were spotty (it's t...
I Use a much faster and easier way to create a local copy of the codex without installing a local server and without installing copy of mediawiki, its called ScrapBook which is a Firefox extension, that helps you to save Web pages and manage the collection. Key features are lightness, speed, accuracy and multi-language...
Local copy of WordPress Codex?
wordpress
I realize this may be a broad question on the surface, but I'm looking for specific examples of setups/workflows that people use to keep a version history of edited files on a WordPress site. For instance, when developing a site (and even after it's live), I often make changes to CSS and PHP files, but I don't have a g...
I am not sure how much you know about using version control, but I recently switched from SVN to GIT and find that to be great! Though it depends in you live site's server has GIT installed (or will let you). I have a GIT setup on the live server also, running of a branch called something like <code> production </code>...
Getting Started with Subversion, Git, or similar Version Control System to keep a History of my Files?
wordpress
what the best way to include images from the template's images folder? is it by using <code> get_bloginfo('template_url') </code> ? I understood that its better to hard code the path to the images folder since this way you save function calls in PHP.. any thoughts?
The easiest and simplest way to do it is define a unique variable in your theme's <code> functions.php </code> file. Such as: <code> &lt;?php $theme_name_images = get_bloginfo('stylesheet_directory') . '/images/'; ?&gt; </code> No need for classes as a previous answer suggested. EDIT: It should be get_bloginfo, instead...
what the best way to include images from the template's images folder?
wordpress
About a month ago I started a WordPress blog on a hosted server related to a hobby. So, I am new to this at present. Since I'm concerned about security, one thing I did was to install the plugin WP Security Scan. According to the plugin results, my site checks out except that I get this in the results as a red flag: Th...
UPDATE : When I first posted my answer I missed the crux of the question; my answer was about <code> .htaccess </code> security in general and is now listed below the double line (look down if it interests you.) Unfortunately I don't have specific experience with securing <code> /wp-admin/ </code> using <code> .htacces...
Security and .htaccess
wordpress
Is there anyway I can add an html link from the quick press on the Wp-admin Dashboard? Does it accept html? If only I could do that, I wouldn't have to go to create new post everytime I wanted to blog.
QuickPress does allow html to be added. Just try it. Add this as the content of your post inside QuickPress: <code> &lt;b&gt;&lt;a href="stackexchange-url Link!&lt;/a&gt;&lt;/b&gt; </code>
Html and links via Quick press
wordpress
I'm new to WordPress. Which steps would I need to do, to get my new design implemented as a WordPress theme?
An alternative to a "skinnable" theme framework like Carrington (which indeed is awesome) is to integrate a design you've done from scratch. This is how I learned how to create custom WordPress themes. Note: this is a hacky method that involves lots of experimentation. But if you're like me, and learn best when you're ...
How to create a new theme from scratch?
wordpress
I've read a few tutorials on how to add the functionality of the custom menus added in version 3.0 to my theme but they all seem to differ somewhat, and I'm not sure whether they contain superfluous code. In addition I read that the code to register your theme as menu-compatible changed between the RC and the public re...
The easiest way is to use the <code> register_nav_menus </code> function.This should be hooked into <code> 'after_setup_theme' </code> : <code> function my_cool_menu_function(){ register_nav_menus( array( 'primary' =&gt; 'Primary Navigation' )); } add_action( 'after_setup_theme', 'my_cool_menu_function' ); </code> Then...
How do I add support to my theme for custom menus?
wordpress
Now with those custom post types and other bits of content that don't necessarily need to be organized chronologically by date, for example: the client has a 100 T-Shirts as custom post type "SHIRT" and he wants to set their appearance order. What approach you suggest taking for letting the editor/admin of the site SOR...
I might suggest these: http://drewgourley.com/order-up-custom-ordering-for-wordpress/
visually sort ordering "custom post types" for end users
wordpress
I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my pages?
This tutorial is pretty awesome for explaining the basics, and you end up with a nicely styled options panel at the end of it too. There are a few such tutorials around, it's surprisingly easy to get the hang of. I've never tried it but you should be able to add a bit of PHP checking whether the current user has a high...
How do I create my own admin button and theme settings page?
wordpress
Usually when I create some form of query, I use an array for my arguments like this: $postslistArgs = array( 'child_of' => 320, 'parent' => 320 ); $postslist = get_pages($postslistArgs); There are other times, however, when I need/want to use URI-style query parameters like this: get_pages('child_of=320&parent=320'); T...
WP_Query uses PHP's native <code> parse_str </code> function, which uses the following structure to denote arrays: <code> 'post__not_in[]=1&amp;post__not_in[]=2&amp;post__not_in[]=3' </code> is the same as <code> array( 'post__not_in' =&gt; array( 1,2,3 ) ) </code>
Use union/intersection query_posts variables in uri request parameter form?
wordpress
I want to use WordPress as a CMS for a reasonably basic site rather than a blog. I have several pages and at the moment, I don't intend to have a "news" page. While there are ways to make this work, the focus in the wp-admin console is clearly on new posts, and creating pages with custom content like maps and galleries...
The killer feature that caused WordPress 3.0 to cross over from an extensible blogging tool to the CMS for 8 out of 10 needs is Custom Post Types (with the addition of Custom Taxonomies from v2.9) with an honorable mention going to the new Menu system in 3.0. So if you want to learn WordPress as a CMS then study Custom...
Tips for using WordPress as a CMS?
wordpress
I want to force a secure connection on some of my pages (ones with forms), but I don't want the whole site to work with ssl (slows it down) Is there a way to configure specific pages to require ssl?
Use the admin-ssl plugin. For stuff outside of wp, use rewriite rule in apache
Is there a way to force ssl on certain pages
wordpress
I design &amp; build a lot of bespoke Wordpress themes for clients, and before I just took the best parts out of the default Kubrick and made my own 'vanilla' theme. The new default, TwentyTen is way too complex for my needs, and is a bit kitchen sink. Are there any lightweight WordPress 3 themes like these? http://des...
Just a suggestion and not necessarily the answer, but some of those are so basic I'm wondering if using the Starkers theme from Elliot Jay Stocks and just adding a bit of style to it, could make the simple theme you've been looking for.
Looking for a lightweight theme using WP3 new tags and features (not 2010)
wordpress
I use the great Changelogger plugin, which adds plugin version history to the plugins page when there is an update. Although I would like it to, it doesn't work from the updates page where you can update WordPress core, plugins, and themes. How and where can a new hook for that page be requested so that the changelogs ...
You'll want to make a new ticket here: http://core.trac.wordpress.org/ Explain why you want a new hook and how it could be used. Including a patch file also goes a long ways towards getting the hook included in WordPress.
How and where can we request new WordPress hooks to be added?
wordpress
Is it possible to rename the wp-admin folder? I know I could just rename it, but unless it's supported by the code lots of things would break. If I use a custom folder name, it will make it slightly more secure, security by obscurity and all that.
Unfortunately it's not currently possible nor does there appear to be will to consider it as a modification as you can see by this recent thread on the wp-hackers list and this ticket on trac. If you'd really like to see this be revisited I'd suggest: Present your case on wp-hackers but be forewarned your use-case bett...
Can I rename the wp-admin folder?
wordpress
If I write a private plugin, is there any way to use the WordPress auto-update mechanism to update it? I want to encapsulate the functionality, but it's specific to my own 5 or so blogs, so it's not a good candidate for the public plugins resource. But I love the easy-updating mechanism. Is there a way to do this?
Looks like the applicable code is in <code> wp-includes/update.php </code> , <code> wp_update_plugins() </code> : <code> $to_send = (object) compact('plugins', 'active'); $options = array( 'timeout' =&gt; ( ( defined('DOING_CRON') &amp;&amp; DOING_CRON ) ? 30 : 3), 'body' =&gt; array( 'plugins' =&gt; serialize( $to_sen...
Updates for a private plugin?
wordpress
I would like to place content in a sidebar of my blog articles when they are viewed in the archive, but not show this content when the blog articles are shown on the main page of my site. Can this be done?
Another approach: edit your theme files. <code> archive.php </code> can simply not call in the sidebar, and that will do what you're asking. Have a look at the Template Hierarchy for a view of what the individual files in a theme take care of.
How do I place content on archive pages but not on main page?
wordpress
Sometimes it would be nice to be able to set a draft to be published when I'm not in front of the keyboard. Is this possible? If so, how?
Since a picture is worth a thousand words: 1) Click "Edit" next to "Publish Immediately" 2) Change the date 3) Click "OK"
How can I delay the publishing of a page or post?
wordpress
In the Reading Settings, there is place to set the number of posts shown that affects the number of posts shown in all contexts. I'd like to show instead a certain number of posts on the homepage, and a different number of posts on pages like archive, search results, etc. I realize I could do this by editing the theme ...
I believe the best way to do this in a plugin is to run the following sample function when the <code> pre_get_posts </code> action hook is encountered. The <code> $wp_query </code> object is available, meaning your conditional tags are available, but before WordPress gets the posts, which means you are changing query v...
Show a different number of posts per page depending on context (e.g., homepage, search, archive)
wordpress
Below is an example. 3 classes attached to each item, except current item, which has 6. Can I pare this down somehow? <code> &lt;ul id="menu-global-nav" class="sf-menu"&gt; &lt;li id="menu-item-63" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-5 current_page_item menu-item-63"&gt;&lt;a...
I'm going against the majority on this one :) Yes, it can be a good idea to strip it down. Personally I'm keeping only the <code> current-xxx </code> type classes and replacing them with <code> active </code> , and <code> active-parent </code> (for active parent or ancestor items). Why? around the web, active has becam...
Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow?
wordpress
How can I stop WordPress from prompting me to enter FTP information when doing updates?
If you edit your <code> wp-config.php </code> file you can preload these FTP settings as constants read by WordPress. Keep in mind, on a shared host, you should be mindful of possible security implications. See Editing <code> wp-config.php </code> for more information. Your settings will vary, but these work for me and...
How can I stop WordPress from prompting me to enter FTP information when doing updates?
wordpress
The WordPress codex page for query_posts states that it does not cover all the parameters which query_posts takes: Parameters This is not an exhaustive list yet. It is meant to show some of the more common things possible with setting your own queries I couldn't find a reference of all the parameters which are accepted...
Below is everything from WordPress 3.0.1 found in the <code> parse_query() </code> function of /wp-includes/query.php <code> (lines 1246-1550) </code> . However, it's possible for a plugin to add parameters and so a list can never be fully complete: <code> attachment </code> <code> attachment_id </code> <code> author <...
What are all the available parameters for query_posts?
wordpress
When editing one of my custom post types I want to be able to list all entries by a custom field instead of the date they are published (which, for a custom post type probably isn't relevant). I got a lead from the comments of a blog post about custom post types and the author said it was possible and that he even made...
As you can probably imagine by the lack of answers provided, the solution is not exactly trivial. What I've done is create a somewhat self-contained example that assumes a custom post type of " <code> movie </code> " and custom field key of " Genre ". Disclaimer : this works with WP3.0 but I can't be sure it will work ...
How to sort the admin area of a WordPress custom post type by a custom field
wordpress
In particular in table <code> wp_options </code> . After almost 2 years of blog production it seems increased a lot, and I don't know how many crap is in there. Do you know a plugin that works with WordPress 3.0 or safe query to run to search orphan keys/rows?
There is no query that will be 100% certain to delete everything unused and not delete those things because any theme or plugin can add options to the <code> wp_options </code> table. Still, with a little effort you can get a pretty good idea of what's not in use and then manually decide which of those things to delete...
How can I delete orphan keys in WordPress database tables?
wordpress
I want to learn how to create a theme for WordPress. Where can I find information and resources on how to do it?
There are many different ways to learn to create your own theme. First, there's the "official" WordPress Codex on Developing Themes , but I'd say that it is more of a reference than a tutorial. Another approach and one I like a lot is to read some of the better tutorials about WordPress Theming on the various blogs aro...
Where can I learn to create my own theme?
wordpress
I want to have my custom field use HTML, how do I do that in such a way that I can use a rich text editor to view the content?
You can use Advanced Custom Fields plugin. It's pretty easy to use and very powerful, so it's the best choice right now, I guess.
I want to have my custom field use HTML, how do I do that?
wordpress
I'm having a strange problem with my w-admin login. This has only started since I upgraded to 3.0 When I go to wp-admin, the login form appears as normal, but when I enter my username and pass, I am presented with the login form again every time. Using the password recovery feature results in an email not found error. ...
The main cause I've seen for this is incompatible plugins. Via FTP, either download and delete all your plugins, or rename the existing plugins folder to plugins-old (or whatever) and make a new plugins folder. After this, copy your plugins from the old folder to the new folder one by one until the problem reappears. A...
wp-admin seems to be redirecting
wordpress
I want to use HTML5 in my WordPress theme, how do I turn off wptexturize? I don't mind WP adding breaks, but I want them to be <code> &lt;br&gt; </code> and not <code> &lt;br /&gt; </code> . How do I get control over how those breaks show up in my code? EDIT: I only really care about the <code> &lt;br&gt; </code> tag i...
Line breaks are added by <code> wpautop() </code> , not <code> wptexturize() </code> . <code> wpautop() </code> is also the function that automatically adds paragraph tags. You're better off fixing the <code> &lt;br /&gt; </code> 's than you are replacing the filter. Since <code> wpautop() </code> runs at priority 10, ...
How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?
wordpress
I have a spreadsheet (XLS) of names, email addresses, and passwords from another content management system. Is there a way to import these folks as users (I think subscriber level, but some may be Editors as well) into WordPress?
A new file, <code> import.php </code> : <code> &lt;?php define('WP_INSTALLING', true); // this is required. i forget why! include '/path/to/wordpress/wp-load.php'; include ABSPATH . WPINC . '/registration.php'; // wp_insert_user() $userdata = array('user_login' =&gt; 'jdoe', 'user_pass' =&gt; 'foobar'); $user_id = wp_i...
How can I import users into WordPress?
wordpress
I recently built a WordPress site based and am using BuddyPress for some interactive community functionality. Members are using the forums built into BuddyPress, but are looking for a way to attach or embed pictures in their posts. Is there any way to extend the BuddyPress forums to allow this, or are there existing pl...
And, since I can't (yet) post multiple links, here's two more answers in short succession. For attachments, there's: http://buddypress.org/community/groups/forum-attachments-for-buddypress/
Posting Photos and Other Attachments in a BuddyPress Forum?
wordpress
I want to export some or all of the posts of a blog into a format that makes sense to a publisher (traditional or self-publisher(e.g.: Lulu.com)) (MS Word, RTF, PDF, epub, something else). What tools are available to accomplish this?
Anthologize A great option is the Anthologize plugin. It works with WordPress 3.0, allows you to format your book in WordPress itself, and then publish everything automatically to PDF, ePub, and other formats.
How do I export my WordPress blog as a book?
wordpress
How do I make sure my blog is iPad / iPhone / Android / touch-device friendly?
I personally use the WP Touch plugin on my site. It automatically detects if the user is browsing with an iPhone (or iPad) and reformats the site into an iOS-friendly layout with touch-sensitive controls. There's an option at the bottom for visitors to display the normal site if they want. It's a very well-supported sy...
How do I make my blog iPad / iPhone / Android friendly?
wordpress
I'm at version 3.0 and want to move to 3.0.1 without having to download/unzip/delete/upload but I get this error when trying to update: Could not create directory.: /public/wp-content/upgrade/wordpress-3.tmp/wordpress Is is safe to chmod 777 the upgrade folder?
It should be relatively safe to chmod it to 777 for as long as you need to in order to upgrade, and then change back to what it was before. Generally speaking, 755 is the recommended directory permission.
Permissions to get autoupdate to work
wordpress
Suggestions for plugins, best practices, etc. welcome.
Just saw this article the other day: http://pluginize.com/blog/tutorials/how-to-create-a-simple-affiliate-program-in-wordpress/ They provide a tutorial and suggest using the following plugins: Gravity Forms WP Hide Dashboard Gravity Forms Affiliate Add-On Plugin The tutorial also has some code snippets that you will ne...
How can I create an affiliate program in WordPress?
wordpress
How does one go about building a page in wordpress that contains a contact form full of custom fields, boxes, inputs, etc. completely determined by the author of the site. It seems odd that wordpress currently lacks this feature, but knowing the wordpress community, it's unlikely that we must do without.
Contact Form 7 is one of the most popular plugins to add a contact form to a WP blog. It supports multiple contact forms and you can add/remove fields as needed. Additional services such as reCAPTCHA and Akismet can be added. I use this on most of my blogs to power the contact features.
Contact Form on WordPress Sites?
wordpress
I've recently upgraded to WordPress 3.0, and am having a lot of problems with the autocomplete function when editing posts via 'quick edit' (e.g. /wp-admin/edit.php) - for example, editing tags. The autocomplete box often obscures the textbox I'm trying to enter text into, and sometimes gets 'left behind' once the 'upd...
I have a solution I tested, and it works. The autocomplete for the tags is currently done via an ajax request to the file admin-ajax.php. The solution I would suggest is to block the processing of the request so that it does not return any result. I would do : <code> function no_tag_suggest() { if( DOING_AJAX == true &...
Can I disable the autocomplete?
wordpress
How can I instruct wordpress to use a filename other than 'styles.css' for my main stylesheet - for example, styles-1.css? I'd like to do this for versioning and caching purposes.
<code> Style.css </code> is required for your WordPress theme. That's where WordPress gets the theme name and meta information for the Appearance > > Themes menu from. That said, you don't actually have to use <code> style.css </code> in your theme at all. I know of several readily available themes that don't use it, a...
How can I version the main CSS file?
wordpress
I've got the Akismet plugin on my WordPress site but I've been getting more and more spammy comments (that get caught). I'm amazed at the number as the site isn't that popular and doesn't have much traffic. Are there any methods for reducing spam?
For my blog, I too run Akismet to catch any spam that is posted to my blog, but I also prevent spam from being posted in the first place using a few plugins: Cookies For Comments requires that people leaving comments have cookies and CSS stylesheets enabled. A stylesheet is added to your site that when loaded sets a co...
how to reduce the number of spam comments
wordpress
I've read articles about protecting wp-config.php using .htaccess as well as setting the correct file permissions but I want it all in one place. What should my .htaccess file look like and what folders is it safe to have 777 vs 755 permissions?
Hardening WordPress on the WordPress Codex is a very good article on how to secure your WordPress blog, which goes into quite some detail on file permissions, as well as some other methods of securing WP.
How to to secure WordPress file and folder permissions
wordpress
The custom types/taxonomies feature of WP 3.0 is a neat one. I can think of a few ways to use the duo: to display projects, a portfolio, or a gallery. What else can custom types and taxonomies be leveraged for?
Custom types can be leverage for anything that can be repeatable. So as you said a gallery or portfolio would work very nicely. I've already used them on a few different projects: Recipes Employee Roster Callouts for the homepage rotating sliders. Other ideas are: products for a commerce site—The custom taxonomies woul...
How can you use custom types/taxonomies?
wordpress
I'm using the All in One SEO plugin for my site. The extra fields and options it supplies seem like they could be handled via a theme, possibly negating the use for a plugin. Should SEO considerations be handled by a theme, rather than delegating the work to a separate plugin? It could reduce maintenance issues, takes ...
Ideally, SEO should always be handled by the theme. Actually, most plug-in behavior that impacts the front-end of a site should be handled by the theme. Plug-ins like All in One SEO are quick solutions for people who don't want to invest the time required to re-code a theme they built, downloaded from a free site, or p...
Should a SEO plugin be necessary?
wordpress
I'm aware of the requirements WP has for certain directories and files to be writable. I'm also aware that making permissions too loose can open security holes. Finally, I know that the user that (insert your server here) runs as on Linux systems can be a factor. Security aside, I like being able to download themes and...
If you have FTP access to your server, the most secure setup is not having your themes or plugins directory writable by your webserver and instead having WordPress update files using FTP. When you go to update a plugin, WordPress will prompt you for your FTP details. The FTP method is a lot slower than direct file writ...
What is the ideal setup to address security concerns?
wordpress
How can I allow moderated anonymous contributors to post to my blog?
I would probably either use GravityForms or CForms plugins to allow that, both have a "form to post" feature that creates a new post and lets the admin moderate it before publishing.
How can I allow moderated anonymous contributors to post to my blog?
wordpress
I was interested in the recent conversation about whether WordPress themes need to be licenced under the GPL or whether they can be closed source. The video can be reached from matts blog and my favourite discussion about it is Dave Winers blog post . My question is - am I allowed to license my theme under the aGPL ? o...
Since WordPress is licensed as GPLv2, you can license any addition (i.e. theme) with a license that's compatible with version 2 of the GPL. Now here's the unfortunate part ... version 1 of the aGPL is not compatible with any version of the GPL. Version 3, however, is compatible with GPLv3 ... but not GPLv2. Short answe...
Am I allowed to license my Wordpress theme under the aGPL
wordpress
I do development on one box and use a second for production. Right now I just dump the database and then do a find a replace for the URL changes; then copy over the files and import the new SQL. Are there better ways of doing this?
@Insanity5902 : Deployment of a WordPress site from one box to another has been a PITA since day one I started working with WordPress. (Truth-be-told it was a PITA with Drupal for 2 years before I started with WordPress so the problem is certainly not exclusively with WordPress.) It bothered me that every time I needed...
How to: Easily Move a WordPress Install from Development to Production?
wordpress
I am unable to install any theme/plugin to my wordpress 3.0 <code> Downloading install package from http://downloads.wordpress.org/plugin/contact-form-7.2.3.1.zip… Unpacking the package… Installing the plugin… Could not copy file. /public_html/blog/wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.po Plugin insta...
headdesk Permissions on all WordPress files should be 644. Permissions on all WordPress directories should be 755. Exceptions: The uploads directory may need to be 775 or 777, depending on your server configuration. wp-config.php should be 600, 640, or 644, whatever is the lowest number that works. Never, ever, give hi...
How to prevent plugin, theme installation failures on Wordpress?
wordpress
I just upgraded to the latest Wordpress and activated this theme. It displays the following Hello world! Posted on May 27, 2010 by admin Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! Posted in Uncategorized | 1 Comment | Edit Is there an option to remove the Posted on and Posted...
I don't think there is an option to do that. You can edit the theme to remove those elements, but then you will have a problem when the theme gets updated (pretty frequently for Twenty Ten right now. But if you did want to do it, you have three ways to do it: You can edit PHP files for the presentation (e.g. loop.php) ...
Remove "Posted on" and "Posted in" from the Twenty Ten Theme
wordpress
I want to use a good elegant slideshow control in my website. The website is created in wordpress and I am using the Thesis theme. I did find a Nivo slider but am stuck at the integration with Thesis (using the custom functions and custom css files). Can someone suggest a good non-flash slideshow widget which I can eas...
Here is a list with some of the widgets: http://www.geeksucks.com/showcases/12-awesome-wordpress-slideshow-plugins.htm Then, here is the slideshow list from the official plugin directory: http://wordpress.org/extend/plugins/tags/slideshow
Slideshow control for use in Wordpress Thesis theme - non flash
wordpress
I have a y.wordpress.com blog and I contribute to another x.wordpress.com under the role editor adding post contributions.The owner's account is set to publicize to Twitter any updates he/she makes. I do not have the credentials of the owner for x.wordpress.com. How can I publish a post so that it publicizes to their T...
From one of WP engineers: It's not possible for you to publish a post and have it publicized under the blog owners credentials. It sounds like you are setup as an author on blog x. If you were setup as a contributor you could write the post but it would have to be published by the owner of the blog. They would then be ...
Using WordPress publicize with main account and editor user accounts
wordpress
I've got a WordPress site that includes pages pulled from a different database. The problem is that these other pages return a 404 status code. (The WordPress posts/pages are fine.) The 404'ed pages display fine, and I removed the "Page not Found" text from the title tag in WordPress. But Googlebot and W3C see the 404 ...
You can either add custom rewrites to your pages. Or on the top of the template files that wrap your other pages just output <code> header('HTTP/1.1 200 OK'); </code> .
How does one suppress a 404 status code in a WordPress page?
wordpress
I need to create a variable that can be accessed throughout my WordPress Theme template files (index.php, header.php etc..). I know function definitions go inside the <code> functions.php </code> template file (in your theme path), but there's no such thing for variables. For example I constantly need to retrieve Categ...
Apparently <code> global </code> does the trick. The problem was that my variable <code> $categories </code> should have been redefined with a <code> global </code> in front of it, in each template I needed to use it.
WordPress Theme variables scope
wordpress
By default, the WordPress tag cloud widget has a set amount of 45 tags to display. This can be seen in the <code> wp-includes/category-template.php </code> file. By default, the WooCommerce plugin which I have installed, and it's products tag cloud widget also resembles this. How do I modify this amount from within my ...
Add the following to your theme's function.php. Default values are shown below, except changing 'number' from 45 to 15. Only the changed values need to be included, so you can either leave the default values or remove/comment out those lines. For Wordpress Tag Cloud widget: <code> function custom_tag_cloud_widget() { $...
Edit tag cloud widget number
wordpress
Here is my excerpt code. <code> // Generate custom excerpt length function wpbx_excerpt_length($length) { return 300; } add_filter('excerpt_length', 'wpbx_excerpt_length'); </code> How do I allow html like <code> &lt;a&gt; &lt;b&gt; &lt;i&gt; &lt;br&gt; </code>
COMPLETE GUIDE TO EXCERPTS I've recently answered a few questions regarding excerpts, so I'm going to give a detailed explanation covering as much as I can. HTML TAGS/FORMATTING <code> the_excerpt() </code> first of all doesn't accept any parameters, so nothing can be passed to it. It is a fact that <code> the_excerpt(...
Allow HTML in excerpt
wordpress
I am trying to change the checkboxes for the terms on the backend to radiobuttons. I found this topic: stackexchange-url ("Altering the appearance of custom taxonomy inputs") however wich helped me doing this. However, this will turn ALL terms checkboxes to radio buttons. Is it possible to apply this only for one taxon...
However, this will turn ALL terms checkboxes to radio buttons. Not only that, it'll turn any checkbox in a meta box - not ideal! Instead, let's specifically target the <code> wp_terms_checklist() </code> function, which is used to generate the list of checkboxes across the admin (including quick edit). <code> /** * Use...
WordPress taxonomy radio buttons
wordpress
WordPress default setting is, most recent post is the first post of the blog. But, I need to "Most commented post should be the first post in the blog". ( Categories page as well as home page)
Alex, the codex is your friend. You have a parameter <code> orderby </code> which you can set to order posts by <code> comment_count </code> . You can get the complete list of parameters accepted by <code> orderby </code> in the codex page about <code> WP_Query </code> There is no need for any custom query, you can sim...
Most commented post should be the first post in the blog
wordpress
Hi I'm not a coder and I was wondering if anyone could edit this code to list all sites in the multi site network in alphabetical order? cause right now the code lists by registered date <code> &lt;?php // Query for getting blogs $blogs = $wpdb-&gt;get_results( $wpdb-&gt;prepare("SELECT blog_id, domain, path FROM $wpdb...
You can try to replace: <code> ORDER BY registered DESC </code> with: <code> ORDER BY domain ASC, path ASC </code> to get the sites in an alphabetical order.
List all sites in multisite
wordpress
This is really driving me up the wall now. Randomly, all my menu items for all menus are just being deleted on their own. Not the menus themselves but all items within them. This is a custom theme we built upon the Bones boilerplate. We've built plenty of sites on Bones though and we're not experiencing the problem wit...
I'm going to answer my own question primarily to keep a log of debugging until I get to the bottom of this (hopefully resulting in an answer to my question for the benefit of other SE users):- 28th May 2014 Asked question as per above. Ongoing issue with menu items being deleted randomly all the time. Duplicated websit...
Menu items (all menus) being deleted randomly on their own
wordpress