jdunneirl
Forum Replies Created
-
Forum: Plugins
In reply to: [Convert Post Types] Converts but losses AttachmentsLooks to be an issue with the wordpress importer that caused it. Not this plugin.
For any one who gets alot of attachments orphaned ensure your not using the xml import in wordpress.
J
That worked I changed the permissions on the dashboard to read and it worked thanks for the help and quick response
Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] Comprehensive Google Map Plugin Jquery 1.10Hi,
The problem is jquery that is shipping with WordPress 3.6 is using 1.10.x
You are checking the jquery version in the plugin to see if it’s less then 1.3
The check you are using is reading
If jquery version is less then 1.3 show message…
Jquery 1.10 is been seen as 1.1 in you if statement
I have done a search and found a number of instances of this check. Sorry I am not in the office now to tell you where it is exactly but search for 1.3 in your code swap the parseInt(jquery version) < 1.3 with the function above
J
Thanks msaari,
How do I go about search for the title in a certain taxonomy?
my page has an input and a dropdown,
so i search by title or / and category
I also notice I get
Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /usr/local/pem/vhosts/cc/webspace/httpdocs/wp-includes/functions.php on line 2748
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Connection OrderingI sorted it turns out I was sending in a blank ??
thanks for all your help scribu, just one question how can you use posts2posts with wpquery I am not completely understanding the get_connected is this the replacement for wp_query and does it take all the same args?
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Connection OrderingOh just to follow up
when I use
$carouselContent = p2p_type( 'posts_pages' )->get_connected( get_queried_object_id() );
p2p_register_connection_type( array( 'id' => 'posts_pages', 'to' => 'carouselcontent', 'from' => 'carousel', 'title' => array('to'=> 'Content','from'=> 'Carousel'), 'sortable' => '_order' ) );
I get
Fatal error: Call to undefined function p2p_type()
If I use
$carouselContent = $carousel_connection->get_connected(array('connected' => $carouselToUse));
I also error
Warning: Invalid post type. Expected ‘carousel’ or ‘carouselcontent’, but received ”
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Connection OrderingThanks Scribu,
Still having problems though
how do I convert the wp_query to get_connected()
$carouselContent = new WP_Query( array( 'post_type' => 'carouselcontent', 'post_per_page' => -1,'connected' => $carouselToUse,'connected_orderby' => '_order', 'order' => 'DESC')); $carouselContent = $carousel_connection->get_connected(array('connected' => $carouselToUse));
I am using 0.9 of the plugin,
Also this is not within the loop as I need to pass the post ID I am referncing
John
Forum: Fixing WordPress
In reply to: Second Custom Post empty in AdminHere is the second files I am using
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Themes and Templates
In reply to: Code ErrorThanks Steven you got it in one ??
Forum: Themes and Templates
In reply to: HomepageI have fixed this by setting a static page
Forum: Themes and Templates
In reply to: Best Practice for Storing Dataok so for dynamic text on a page,
lets say the intro text is dynamic ie held in wordpress
and so is the advert text,
do you store both in custom fields and access it with the get_post_meta or where exactly do you store each chunk of dynamic content for each section / page,
Do you create a parent page and do some includes to drag from other wordpress pages or where exactly does the content come from so it can be edited
Thanks,
JOhn
Forum: Themes and Templates
In reply to: Best Practice for Storing Datamaybe i should mention I am trying to use wordpress as a cms
Forum: Themes and Templates
In reply to: Best Practice for Storing DataHi Chip,
Perhpas I am approaching this all wrong,
maybe i should have all pages been called with includes?
The content will be different on each page,
So 8 pages
and 5 sets of content on each page
so 40 pieces of dynamic content
Forum: Themes and Templates
In reply to: Best Practice for Storing Dataall pages look the same for now, no live site sorry ??
however I can put one up somewhere if we really need it