Skip Navigation

[Resolved] Back End of Custom Post Behaving Oddly After Update

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1243658
Screen Shot 2019-05-14 at 16.49.21.png
Screen Shot 2019-05-14 at 16.49.10.png
Screen Shot 2019-05-14 at 16.45.48.png

We have been using Toolset on this site for a while with no issues. I recently updated the plugins to the latest versions and now the back end of a custom post type that I created is not showing things as they used to and the client cant add things as he once could.

So, I have created a post type called "Catamaran Listings" and within that post type I have custom fields for images added. There are three of these image fields which will allow the client to upload multiple images for each section: Catamaran Gallery Exterior, Catamaran Gallery Interior, Catamaran Gallery Layout. They are all configured the same (see screenshots attached).

This is fine, however when the client goes to add these images on the back end he cannot see the "Add New" button. I want to make the image previews smaller , so that the client can see the button but none of the CSS I have tried seems to be working.

I have attached a screenshot of what I see before I add an image and one after I have selected one image. The image seems to cover the "Add New" button so the client cant click on it.

If someone could please let me know how to either make the image previews smaller like thumbnails of the same size or to set the "add new" button above the images or below them.

#1243784

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Belinda,

From your screenshot I do see the add new button, unfortunately this has been a feature that was requested by our customers for a while now where you can upload multiple images at the same time in the repeatable image fields.

For the reduction of the image size, you can add this css to your functions.php file


add_action('admin_head', 'reduce_rp_image_size');

function reduce_rp_image_size() {
  echo '<style>
    .wpt-repetitive.wpt-image .wpt-file-preview {
      height: 100px !important;
    } 
 .wpt-repetitive.wpt-image .wpt-file-preview img{
  height: 100px !important;
width: 100px !important;
}
  </style>';
}

Please let me know know if this helps.
Thanks,
Shane