leonmagee
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display tag admin box like categories, without hierarchy.This works sort of if you make the action hook ‘add_meta_boxes’, but when you select a term and save, it adds a number to the list of taxonomy terms instead of saving properly.
Forum: Developing with WordPress
In reply to: Excluding a specific category in a photo gallery$cats = get_terms(‘portfolio_cats) assigns the variable $cats with an array of all of the term objects of the portfolio_cats custom taxonomy. So once you do the loop (foreach ($cats as $cat )), the variable $cat will be assigned, one at a time, with the different term objects. That term object’s values are obtained by referencing the object’s properties, so echo $cat->name will echo the name property of the current term object. So in order to skip some of the custom taxonomy terms, you could, within the foreach loop, do something like:
if ($cat->name == 'this_term_should_be_skipped') { continue; } else { // the code that is already in the foreach loop... }
I figured this out. The problem has to do with your browser, and not with Gravity Forms. In Firefox, go Tools->Options->Security->Saved Passwords, and this will show you a list of all saved passwords. You can then find the Gravity Forms license key (which is saved as a password) and remove it. You will then be able to save settings without the license key coming back.
Forum: Fixing WordPress
In reply to: Fatal error: Class 'WP_Theme' not foundYou also might want to try Filezilla to manage your FTP use, it will allow you to store all of the login info for future use.
Forum: Fixing WordPress
In reply to: Fatal error: Class 'WP_Theme' not foundYou can call up your hosting provider and they can probably help you with the specifics of setting up an FTP account. So if you’re using Host Gator or Go Daddy, you setup an FTP username and password in their control panel. Then, you type the URL of the FTP (ftp.mysite.com) into Windows Explorer and it will then prompt you for your username and password. Once there, you can upload and delete files in the directory.
Alternatively, your host might give you an option for re-installing WordPress.
Forum: Developing with WordPress
In reply to: multiple taxonomy lists searchI found a way to search by multiple custom taxonomies by just creating my own form, using the wp_dropdown_categories function.
This takes you to a taxonomy archive page, rather than a search results page, but if multiple taxonomies are specified in the URL with the GET method, it works to filter the results.
You might want to try a plugin called easy-fancybox instead.
Forum: Fixing WordPress
In reply to: Installing a jQuery plugin into a WordPress installYou would need to know how to modify themes in order to do this, or how to create a plugin which is more complicated.
Assuming the code for this jQuery plugin is one JavaScript file, you could add this file to your theme directory, and then add the following code to your theme’s functions.php file:
wp_enqueue_script('jquery'); wp_register_script('name','file-folder/file-source.js'); wp_enqueue_script('name');
The WordPress jQuery library defaults to no-conflict mode, so if the jQuery plugin is using ‘$’ instead of ‘jQuery’ it might not work, in which case you could load the Google jQuery library instead of the default WordPress one.
Forum: Fixing WordPress
In reply to: adding background image to titleYou should first ‘view source’ or use firebug to isolate the code that outputs the title. Then, in the style.css file, use selectors to only select this element:
.specific_class_name_for_title
{
width:100px;
height:30px;
background-image…
}Forum: Localhost Installs
In reply to: How to Make References RelativeAre you going to eventually move this to an external host, or are you trying to host on your own server?
Forum: Localhost Installs
In reply to: Can't seem to setup multiple WordPress DB'sIf Xamp isn’t working you can try a program called Desktop Server:
https://serverpress.com/products/desktopserver/
There is a free version and it will do everything that Xamp does and more. Once you have your development site setup, in the WordPress admin you can go Tools > Export or Import to transfer your content to the live site.
Forum: Localhost Installs
In reply to: How to Make References RelativeOnce you get your live site running it should work fine.
You should only use hard-coded links if you have to. If you do, you can code them with the URL of the page on your live site.
The permalink structure should resolve itself.