kevin
Forum Replies Created
-
Tested on another server with my local database backup and it’s weird. The post that has 30 pictures (one in each input file field) is displaying well the 30 pictures and has then well saved in the admin, but when it comes to create a new post i’m still stuck with 20 pictures saved and nothing after this.
Just noticed that it was all working fine locally (wamp). Still not uploading online…
Forum: Fixing WordPress
In reply to: Can't switch to HTML view when posting or editing a page/postFound the bug, was from my functions.php file, i had:
wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ( 'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' ), false, '1.x', true );
which was interfering with the admin.
So i updated to:if(!is_admin()) { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ( 'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' ), false, '1.x', true ); }
And it all works fine.
Forum: Fixing WordPress
In reply to: Can't switch to HTML view when posting or editing a page/postUpdate2: don’t know if it’s linked but i also cant drag and drop the items in the menu editor. Starting to get really annoying!
Forum: Fixing WordPress
In reply to: Can't switch to HTML view when posting or editing a page/postUpdate: just saw that i had both options (html and visual) at the same time in the ‘visual’ tab. None of the html options working though.
Forum: Fixing WordPress
In reply to: Can't switch to HTML view when posting or editing a page/postSeems to be deeper than just a safari problem. I’m working a new site and i cant access it too with Chrome10, Safari5, FF4, Opera10 and ie9! Dont work for both posts and pages for this wp installation. On other sites with also wp 3.1, it’s fine. Pretty annoying.
Same with wp 3.1
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] found install errorThanks for the prompt answer mtekk! Didnt know about the reset settings button, i was looking for something like that but didnt see it was up there.
Here’s what i did in the end before your answer; i had noticed that other few things were wrong on my site and remembered we had changed the server from windows to linux with the database in the middle (got set up under windows). I created a new database and uploaded my sql file, then plugged my site to this new one and got it all (actually almost but it’s another story) working a 100%.
I still had though the red warning message and just updated the settings right now. Looks all fine in the end with the plugin!
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] found install errorWe just switched to linux and now the plugin isnt saving any infos. It’s all empty and when i try to save something i get this:
Some settings were not saved. Undo The following settings were not saved: [HUGE LIST]
Any clue?
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] found install errorhey guys, i’m using the plugin on a linux server for development and it works great. Today i uploaded the whole wp site to the client’s server and i get this message when i try to enter the plugin’s settings in the admin:
PHP Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in E:\mysite\wp-content\plugins\breadcrumb-navxt\breadcrumb_navxt_admin.php on line 581
The server is running on windows 2003, might be the reason of the fail?
Thanks in advance for help.
Forum: Themes and Templates
In reply to: How to properly query from a custom taxonomy@lauhakari did u change the function in itself? If not, it means that you are passing a wrong parameter on the second position, for this
'post__in'=>$ids
.Forum: Fixing WordPress
In reply to: [Plugin: Custom Field Template] Use Media Picker and output imageYou can even make it smaller:
<?php $imageid = get_post_meta($post->ID, ‘hh-product-image’, true); ?>
<?php echo wp_get_attachment_image($imageid, $size=array(70,70)); ?>Forum: Themes and Templates
In reply to: How to properly query from a custom taxonomy@ancawonka, i just tried too and got it working this way:
$posts = posts_search (‘produtos’,array(‘prod-categoria’=>$tt,’prod-cols’=>’5-C-P-F-NF-P’));
print_r($posts);the ‘produtos’ is the custom post type i wanna extract posts from, then, this custom post type having 2 custom taxonomies, ‘prod-categoria’ and ‘prod-cols’ am telling the function which terms from those taxonomies i wanna do the search.
Works fine, i mean the results shown are good.
Edit: to show the posts, you can use this way:
foreach($posts as $post) { the_title(); }This will just show the post’s title but you get the idea.
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy PermalinksForum: Themes and Templates
In reply to: Custom Post Type and Taxonomy PermalinksSame for me, i’ve been trying tons of options, no chance so far. My only problem comes from the pagination, all works fine, mysite.com/post1, mysite.com/customposttype, mysite.com/page/2 but the mysite.com/customposttype/page/2 doesnt.