Dale Sattler
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: javascript insert editor content issueTo answer my own question,
send_to_editor(html);
works fine.Forum: Hacks
In reply to: Change The Titles Of Custom Meta BoxesIf I call print_r($wp_meta_boxes); from within my metabox generating class it shows the metaboxes I’ve added.
Forum: Hacks
In reply to: how to disable autosave in WP3.3 ?Workaround it with?
define('AUTOSAVE_INTERVAL', SOME_LONG_TIME_PERIOD);
Forum: Hacks
In reply to: Getting the permalink by an option from settings apiDont you just want to get_option, then get the key from the options returned?
$myOptions = get_option(“options_name”);
$mySlug = $myOptions[‘terms_page’];Forum: Plugins
In reply to: Looking for Advanced Custom FieldsForum: Localhost Installs
In reply to: installing on localhost???What are your permalink settings? Are you able to get into the back end of your site?
Sometimes its simpler when setting up on a local host to set permalinks back to their default, as this removes any need for mod rewrite.
Forum: Alpha/Beta/RC
In reply to: WordPress 3.3 RC2 – Possible Jquery issueI think the jquery version in RC2 is 1.7.1. Are your plugins compatible with that version of Jquery?
Forum: Localhost Installs
In reply to: installing on localhost???How have you set up your local environment? Is it in MAMP, or something similar or are you just running the site from your machines web folder?
I use a mac and run my wordpess installs from my users/sites folder.
But it sounds like you have got a mod rewrite issue, or your sites permalinks are out. You dont need to change URLS in your wordpress php files. The find and replace occurs in your databases SQL file.
Forum: Localhost Installs
In reply to: How to run Two or more sites locally on my machineWhat set up are you running, MAMP etc?
Forum: Localhost Installs
In reply to: installing on localhost???I run a local copy of any site using a seperate domain suffix.
So, say I’m developing a site for https://widgets.com I’ll set up my local install at https://widgets.loc.
Then when I migrate from dev to live sites, I do a find and replace on the widget.loc string, replacing with widget.com.
No, not generally, Apache does not require it.
Yes, if you are developing a local site, and you want to take any changes you have made locally to your live setup, you need to reflect your local changes to your database to your live sites database.
Forum: Localhost Installs
In reply to: installing on localhost???SImplest method is just to open your sql in a text editor, then do a find and replace on all instances of https://oldurl.com with https://newurl.com.
I do it all the time, and it nevers misses a beat.
Forum: Alpha/Beta/RC
In reply to: WordPress 3.3 RC2 – Quick Edit IssueSwapping themes seems to have made the problem go away.
Seems to be an issue with some custom metabox code.
Forum: Fixing WordPress
In reply to: BUG – wp_load_image and year/month image foldersManaged to get around it by looking at the [‘basedir’] key from wp_upload_dir and working out a file path based off that.
Forum: Your WordPress
In reply to: My Bali villa rental websiteVery slow to load, but once its there it looks nice.
Forum: Your WordPress
In reply to: My WordPress SiteLooks ok.