guitavares
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting "Warning: array_map(): Argument #2 should be in arrayGreat, the patch above works just perfectly.
Thanks @ronald.kubo!
Forum: Themes and Templates
In reply to: Weird… masonry gutterWidth stops working on 3.9 updateTravis, I’m having the same issue. Would you please elaborate your solution? thank you!
Forum: Hacks
In reply to: Add custom taxonomy to "Links" (aka bookmarks)Actually after reading it again I think I should create a custom post type called “Banners” and forget about the Links manager. This way I can use shared taxonomies in their full glory with no issues.
Forum: Hacks
In reply to: Add custom taxonomy to "Links" (aka bookmarks)Thanks a lot, that was clarifying. I’ll try it and see.
Forum: Plugins
In reply to: [Firelight Lightbox] Simply not working. Plugin v1.5.6 / WP v3.8.1Oh, thanks a lot RavanH. I didn’t notice it was missing.
I put it back and now it is working perfectly. And I believe some other issues will also be resolved now with this.Forum: Fixing WordPress
In reply to: New "Image with caption" alignment doesn't work at allDoes your posts on your WP sites render that way? I mean, with the <div> outside the text <p>?
Thing is I’ve been making changes and testing all sort of thing in my CSS for days, and still can’t get it to work… well, I’m heading for lunch now and later I can post here more details about this, so we can investigate… thanks anyway!
Well, I just finished a new install of NGGallery in this new wordpress site I am developing. I create a new gallery. I try to upload one or several images. Wait untill the green bar is done for all images on queue and then a balloon show up saying “upload complete. 0 images were uploaded”. And thats it, no images in my gallery.
There is no “hard error” message, no fails, the upload seems to actually happend for each image but in the end, zero images were uploaded.
Really weird and I dont know what to do. Any help?Since the last update my nextgen is creating a new folder under the /gallery path to store the new images. So the image info is added to the gallery, but it won’t find the actual file because it is uploaded to a different folder. Also, I can’t change the gallery path (it shows the path but there is no edit).
For new galleries everything works fine. For this huge gallery i’ve been using, the path was not equal to the gallery title, let’s say:
Gallery title: “My super nice gallery”
Gallery path: /nicegalleryThe above worked fine until the last update. Now when I upload new photos it creates a new path like this: /my-super-nice-gallery and stores the files in there.
So when I go to the gallery edit screen, all the info on the photos are there, but the thumbs are broken because it won’t find the files, since they’ve been uploaded to a different folder. And there is no option to change or set that path.
Forum: Fixing WordPress
In reply to: need help! retrieving user capabilities outside the blogWeirdest thing;
I was getting the FALSE because I was accessing the file using “www.” on my browser.
It just started working when I entered the address without the www prefix.
Must be because my blog address is configured without www.Excellent plugin and great discussion about the tables and image potentials.
I am using it to improve a feature I developed for a soccer team website, where I have custom post type for the players and the staff. So I created custom taxonomies to group them by role (goalkeepers, defenders, etc.).
Your plugin helped me to display the team players in a specific order on the website (grouping them by role).
The only thing I would suggest is that you make the “order” column as sortable column on the taxonomy list, at the WP admin panel. It would really help.
Keep up the good job! Cheers
Forum: Plugins
In reply to: Nextgen gallery, delete images, they return when adding new onesI am having the very same issue here.
The problem occurs only after I do a new image upload into the gallery. Otherwise, I can get in and out the Manage Gallery screen and it seems ok, the deleted images are not there.
But right after I upload a new image, they all show up again in the list.
Also, the reason I am deleting images from my gallery is that the thumbnails were not created in first place, and the only way I can make it work is to upload single images one at a time. If I do a batch upload, many of them get no thumbs.
Anyone out there could helps us??? =(
OK I think it is solved:
the issue was that I was using this to save the metaboxes values:
add_action('save_post', 'player_savemeta'); function player_savemeta(){ global $post; update_post_meta($post->ID, 'name', $_POST['name']); ...etc... }
The problem is that it was running the function for all posts saving actions, and so creating the custom boxes for every post.
The solution I found (not tested yet) is to check the post type before saving the metadata:
function player_savemeta(){ global $post; if (get_post_type($post) == 'player'){ update_post_meta($post->ID, 'name', $_POST['name']); ...etc... } }
UPDATE
just in case I haven’t been clear before. The custom meta boxes appear only on my custom post type edit screen, until I update any PAGE. Then, they all show up in all the regular Pages editor.
I just removed all my custom creations, deleted all custom metas from the database, went back to admin and updated a page. Everything ok.
then I created back the custom types and boxes, went to admin and the boxes were showing only inside the custom post type, until I just updated any Page and all the metaboxes came back to the screen after the update.
I also updated a POST and the same thing happened, the custom boxes appeared just after the update ??