Price
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
How do I remove this distracting “Toolset plugin cannot connect” message?
Started by: Price
in: Toolset Professional Support
Problem: Hi thank you Mateus! I had tried your Workflow a couple of times but I think this was what I was missing: >(please make sure to enter the exact URL that appears in the url fields in the WP dashboard -> Settings -> General page) Also for future readers - I suspect the problem was caused by "renaming" the site (assigning new domain/SSL/etc) while using the same database and db configurations as the old site. |
2 | 3 | 1 year ago | ||
Hook or filter allowing WP-Types maps to be displayed in current WPML language?
Started by: Price in: Toolset Professional Support |
2 | 7 | 7 years, 3 months ago | ||
How to display thumbnails of of PDFs uploaded to the Types document field
Started by: Price
in: Toolset Professional Support
Problem: Solution: function getPDFimg($atts) { extract( shortcode_atts( array( 'size'=>'full', ), $atts ) ); $image_url = str_replace(".pdf", ".jpg", types_render_field( "publication_document")); // publication_document = your field name $dirname = str_replace('.jpg','',str_replace(home_url('/'),'',$image_url)); $images = glob($dirname."*.jpg"); if(isset($images[0])){ $small_image = home_url('/').$images[0]; } if(isset($images[1])) { $medium_image = home_url('/').$images[1]; } if(isset($images[2])) { $large_image = home_url('/').$images[2]; } switch($size) { case 'small': if(isset($small_image) && $small_image != '' ) { $image_src = $small_image; } else{ $image_src = $image_url; } break; case 'medium': if(isset($medium_image) && $medium_image != '' ) { $image_src = $medium_image; } else{ $image_src = $image_url; } break; case 'large': if(isset($large_image) && $large_image != '' ) { $image_src = $large_image; } else{ $image_src = $image_url; } break; default: $image_src = $image_url; } return '<img src=' .$image_src . ' class="pubdoc-pdf-image"> '; } add_shortcode('getpublicationpdfimg', 'getPDFimg'); ==> Whereas replace “publication_document” with your field name slug. 2. Then use this shortcode and you can mention size like = small / medium / large: [getpublicationpdfimg size="small"] |
3 | 7 | 7 years, 4 months ago | ||
Plugins are not being detected by WordPress and therefore cannot be installed.
Started by: Price in: Toolset Professional Support |
2 | 3 | 7 years, 5 months ago |