dains
Forum Replies Created
-
Forum: Plugins
In reply to: [Export to Text] 2.3 does not export the perma linksFound a quick fix for my own purposes. I’m importing all pages and arranging them that way. The permalink function seems to use ‘get_post_permalink’ (line 374 in export-to-text.php) which seems targeted towards custom post types. I changed that funciton to ‘get_permalink’ and it output the page permalinks perfectly.
I don’t know what effect this would have on custom post types so use at your own risk. But for now, it’s working for my needs 🙂
Forum: Plugins
In reply to: [Export to Text] 2.3 does not export the perma linksHi, another vote for permalinks to be exported! I’ll be converting an HTML site over and using a WP install as a staging system for the content. While in staging I will be cleaning up and reorganizing everything and then export it using v2.3 of this utility (I’ll get the company to donate when we get going).
Because I’m reorganizing, it will be extremely handy to have the permalinks exported so I can do a 1-1 match when I audit the new system to make sure everything came across ok. Otherwise, it’ll be tougher :\
Thanks for making this utility in the first place, and hope to see an update soon!
David
Forum: Plugins
In reply to: [HTML Import 2] Recursive internal links not being imported…Accidental duplication. Moderator, could you please remove this? I’m marking it as “not support question” to get it out of the productive flow.
Forum: Fixing WordPress
In reply to: Move Main Sidebar in Twenty TwelveThanks so much for this answer! Saved me a session of learning about twentytwelve structure and CSS vs creating the actual content demo 🙂
Forum: Fixing WordPress
In reply to: How to check if the header is already loaded?hey I just went looking for the same thing and found this reference in – http://codex.wordpress.org/Function_Reference/load_template
>>
$wp_did_header Returns true if the WordPress header was already loaded. See the /wp-blog-header.php file for details.
<<so it looks like you could use this as a conditional to determine whether to load the header or not.
Forum: Plugins
In reply to: [CleanerPress] [Plugin: CleanerPress] Announcement New VersionJust wanted to add some encouragement for this. I would absolutely love this functionality as many plugins load stuff where not needed (ex. last I looked, CKeditor was still loading 360k on the front end. Love to use CKeditor, can’t afford that kind of push for nothing.).
So excellent idea and if it works out, I’ll be a supporter of the Pro version!
Forum: Themes and Templates
In reply to: [Skirmish] Menu Pages Open in New WindowHi, that’s actually a very common and easy Javascript function. You can find the code by starting a post and using the link inserter on the toolbar. You’ll get a panel with the option “open in new window”. Go ahead and finish the link, then switch to HTML view on the editor and you’ll see the code you need.
Now the fun part – you need to edit whichever PHP file is displaying the links and insert that code so it’s put in when the menu creates the links. This … isn’t easy, because Javascript has a lot of characters that need to be escaped so the PHP won’t choke on it.
I’m sorry I can’t help more, but that’s the basics of how to go about it. II barely managed to get my own implementation working and that’s specific to my particular theme, so copy/paste won’t work for you. I hope someone can kick in with a simpler method, like a Javascript function that you can call from the PHP creating the menu. I’m not good enough in Javascript to do that 🙁
For the record, after opening up the .htaccess and comparing it with your boilerplate, all I had to do was remove the absolute path to the local server that WP had added into the .htaccess in two places. So carefully removing those entries will fix things up and also preserve any entries that plugins may have added.
Thanks so much for catching this and sharing the answer! I just upgraded to 3.5 on my local server and suddenly all my theme dev subsites went boom…
I have put a good word in with Santa for you. Not that it will mean much coming from me, but it’s the best I can do 🙂
I would say so. The point of this plugin is to sycn your username and email, and the username is used for Network Admin, so it would appear to be in scope for the plugin to change that too. There’s no downside that I can see other than the network admin having to log in with their email address from now on like everyone else, and that shouldn’t be a burden.
My question exactly. Allow me to suggest you log out of the site and give the direct-path URL to a file a try? as far as I know, WP’s upload directory is accessible by default. I did find this – http://wpguru.co.uk/2012/01/how-to-prevent-direct-file-access-in-your-wp-content-directory/ – which gives instructions on how to put an .htaccess file in the wp-content directory to block access, which seems like an excellent fundamental practice.
Ok that’s VERY cool! Thanks Keith. This is for pre-launch cleanouts, so I’ll make sure to back up the DB beforehand.
I see some integration problems with my current theme, but I think a good answer is a custom page template for the plugin’s Edit page to give the editor room to work. The plugin is shortcode-based so customizing the page template shouldn’t interfere at all with its operation. Maybe this would work for you?
Forum: Plugins
In reply to: [Site Template] [Plugin: Site Template] Remove default site option?Thank you Jack! I’d hidden it with CSS and defaulted it to Disabled, but having a real answer is much better 🙂
Forum: Plugins
In reply to: [Simple Badges] [Plugin: Simple Badges] Great idea some notesThank you for seeing the need for admins to assign badges instead of a whole rewards-for-activity system.
Re assigning badges, I have the same issue on WP 3.4.1. The badge plugin is working, but I cannot see where to award badges to a user. There’s nothing in any of the documentation that tells you how to do that. Help please?