Steven Jones
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] Headers already sentOk cheers – will look out for it then.
Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] Headers already sentHi,
Just wondering if you had a planned date for the next release for this?
Cheers,
SteveForum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] Default category?I don’t think the plugin is meant for this. The best way I can think of doing it is to:
a) Get all of the names of the categories
get_terms('category', 'fields=names');
b) get_terms returns object so you’ll need to put them into an array
$array1 = array("news", "sport", "fashion", "weather");
c) Get the list (returns an array) of categories attached to the post
$array2= wp_get_post_terms($post->ID, 'category', array("fields" => "names"));
d) Loop through array1 (which is in your order) and check if the first item appears in the array2 (in_array). When you find the first one then you can print it out and quit the process.
Hope that gets you started.
Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] Headers already sentThanks very much. Let me know if you need any help testing.
Forum: Hacks
In reply to: How to echo the results of the wp_editorYou’d be better of using a plugin like Advanced Custom Fields which lets you add custom meta fields (by reusing WP_Editor).
It also handles the saving of the data too and you can use get_post_meta in your theme.
https://www.ads-software.com/extend/plugins/advanced-custom-fields/
Forum: Developing with WordPress
In reply to: Linking Taxonomy=Address to a google mapIt might be easier having the Condos as a Custom Post Type rather than a taxonomy and then having the address (& co-ordinates) as custom meta fields.
Forum: Themes and Templates
In reply to: subpagesWhich page is a subpage?
Are you sure the menu in this theme supports subpages (dropdowns I assume you want)?
Yeah, it definitely seems like there’s a bug here.
For categories it shows the order box once. For custom taxonomies it should it twice.
For either it won’t save the value.
It should remove the edit post columns as well as some of the other stuff that the plugin puts in. Are you sure it hasn’t worked? Works for me on all my sites.
Just put this in your functions.php file
add_filter( 'wpseo_use_page_analysis', '__return_false' );
Is this achievable?
Forum: Installing WordPress
In reply to: No Place To register on Marcbonilla.comWrong place for this.
Forum: Fixing WordPress
In reply to: How/where to change the navigation?Ok, sorry I meant the template that had the menu code in – I assumed it would be
header.php
Forum: Fixing WordPress
In reply to: individual posts opens to the main pageDeactivate all plugins and see if that’s the issue.
Forum: Fixing WordPress
In reply to: Mystery Line around Logo, etc.Which browser are you getting the line in? Looks ok in Chrome.