16 comments found.
Hello! If the plugin can be set up not to fetch the item data completely? Is it possible not to display the original item description (this long-read with tons of images) but display the changelog, or display a thumb with price and author only, etc.?
Plugin has a library to access the API, and that library returns everything API returns, so all the data API has you can get. Shortcodes have to have certain look and content, so they can’t eally show everything. But, you can write your own function that use the library to retrieve the item data and show them any way you want.
Envato API for items doesn’t have field for changelog only – items usually include changelog as part of description, there is no way to get two separated – well, you can write your code that can attempt to parse content to get some elements you want.
Hi, Is it compatible with the latest version of WordPress 5.2.4 (Gutenberg)?
Hi,
Yes, plugin works with WP 5.2.x. But, it doesn’t have Gutenberg blocks. To use it in Gutenberg editor, you need to either manually type the shortcode into the Shortcode or Paragraph blocks, or, you add Classic Edito Block, and use the Shortcode dialog to build one.
I plan to support Gutenberg blocks, but I have no idea when that will happen, plugin has a lot of options, and making Gutenberg block would be very difficult.
Milan
Updated to latest wordpress made this plugin non-functional for me. White screen on page with this plugin.
I have updated my websites, and there are no issues with the new version that I can see.
Can you send me the error behind this problem, so I can check it out? This should be in server PHP error log, it will be logged there (all fatal errors should be there).
Hi, Is it compatible with the latest version of WordPress? Is it possible to customize colors of widgets? such as widget background? Is there a documentation how to get Envato API from this plugin support?
Hi,
1. Yes, it is 4.8 compatible. CodeCanyon lacks option for WP 4.8 right now, so it is not updated. 2. This is shortcodes plugin, not the widget one. But, customization can be done using CSS. Plugin has few predefined styles, but other changes can be made using CSS. 3. I don’t understand this last question.
Milan
I’d like to remove the link entirely on the thumbnail image. Can I do that?
You can copy and change the function used to render the item. All render functions are in the render.php file (core folder). You can copy each one into the theme functions.php and make changes as you need them.
What settings would I use to create a horizontal block? Like a row of 3 items, then another row of 3 items? Or does this only create long vertical listings? I am trying to work with PhotoDune, and keep getting a long vertical line of teeny tiny thumbnails.
Is there somewhere in the documentation that shows what each setting looks like or does? Or demonstration page does not indicate what settings were used for each style of ads.
Tooltip preview is not working. Do I need to add another plugin?
Hi,
There are some examples here: http://demo.smartplugins.info/demo/wordpress/smart-market-shortcodes/ with the shortcodes and example output. To position elements shortcode has wrapper width, and the item width, and you can use that to have more then one item in the row. But, this might depend on the theme styling, so you may need to adjust CSS based on your theme. Also, if you want to have responsive display of elements, that will depend on your theme, and you need to adjust styling for that, but to make it work, it is best to have item and wrapper width set to empty.
The best thing to do is to experiment, and then adjust styles to fit your theme best.
As for the tooltip, they work fine, but you might have some JavaScript issues on your page that prevent some jQuery code to run. Check out the browser debug console to see if there are errors there.
Milan
OK, I eliminated the item width, and now it is horizontal. I have a responsive theme. Where is the browser debug console?
OK, I eliminated the item width, and now it is horizontal. I have a responsive theme. Where is the browser debug console?
Dependig on your browser, Chrome and Firefox open debug console on CTRL+SHIFT+I, or search browser menus for Developer Tools.
It’s working for Video Hive but not Photo Dune. Check out these pages;
Photo Dune: http://royaltyfree-rvtravel.com/portfolio/royalty-free-photo-dune/
Video Hive: http://royaltyfree-rvtravel.com/portfolio/royalty-free-video-clips/
Also the side widgets; the first rows are Photo Dune (don’t work) bottom rows Video Hive (work)
I will need to investigate this, and will let you know once I know more.
OK,thanks a lot.
I have found the problem, it was related to the different API format used for Photodune, and it will be fixed in next update in a day or two.
Hello – first off very cool plugin. Good job. Ok now for my questions. I was wondering if there’s a way to link to an iframe lightbox instead of going to the envato sites directly. And second, is there a way to go directly to the demo page. I’m using it strictly for themeforest themes so all of them have a demo.
Thanks and nice work.
Hi,
Plugin allows you to override each function used to render the item, and it can be changed to show different URL. I will try to create few examples and put them as tutorials on site in the next few days.
Milan
That would be great! Just know I’m not showing individual elements but rather using the latest themes option and showing them as a grid of approx 20 at once. Don’t know if that changes how you do the tutorials.
Curious to know if you got to those examples yet?
They will be ready tommorow.
New version 2.0 is now available.
Hi getting error
Fatal error: Call to undefined method WP_Error::author_url() in wp-content/plugins/smart-market-shortcodes/core/render.php on line 286
I can’t reproduce this issue. Maybe it is related to problem with the API, can you test with some other widget settings?
its happening on some posts not all.
This could be related to the Envato API problems. I will be making some improvements with next version to prevent such errors from displaying. Most likely, it will be released in the next 3-4 days.
any update .. still getting error ..
I have tested many times and I can’t see any problems. But, because of the API errors happening often, I will build improved detection for that and at least stop errors from appearing on screen. I plan to release update early next week.
please see this https://wpthemereviews.net/best-business-wordpress-themes/
- Can you paste here the shortcode you are trying to display? - Do you use New or Old API in plugin settings? - Did you configured plugin properly with the new API personal token?
im using this code [smarkets type=’selected_item’ method=’cta_wide’ limit=’1’ width=’100%’ item=’2833226’] im using new api and its configured properly
same this working here http://athemeshop.net/consulting-business-finance-wordpress-theme/
Error Log Contents
[2016-04-20 09:16:47] : request_error – new api : https://api.envato.com/v3/market/catalog/item?id=12468676&site=themeforest [debug trace] : require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, get_the_content_feed, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, shortcode_smarkets, smart_envato_api_build->item, smart_envato_api_build->api, smart_envato_api_build->_data, smart_envato_api_build->run, smart_envato_api_build->_fetch, smart_envato_api_build->_load [error message] : 429: Unknown
=========================== [2016-05-05 07:37:29] : request_error – new api : https://api.envato.com/v3/market/catalog/item?id=11055852&site=themeforest [debug trace] : require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, get_the_content_feed, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, shortcode_smarkets, smart_envato_api_build->item, smart_envato_api_build->api, smart_envato_api_build->_data, smart_envato_api_build->run, smart_envato_api_build->_fetch, smart_envato_api_build->_load [error message] : 404: Not Found
=============================== [2016-05-06 12:10:44] : request_error – new api : https://api.envato.com/v3/market/catalog/item?id=11055852&site=themeforest [debug trace] : require, require_once, include, locate_template, load_template, require_once, td_module_single_base->get_content, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, shortcode_smarkets, smart_envato_api_build->item, smart_envato_api_build->api, smart_envato_api_build->_data, smart_envato_api_build->run, smart_envato_api_build->_fetch, smart_envato_api_build->_load [error message] : 404: Not Found
The shortcode works as expected, it renders without errors. As for the errors, these are old errors and they show the issue when the API is not working. In any case, I am preparing updated version for later today that will recheck results to avoid showing errors.
New version is now available. Let me know after you test it.
When I use the Envato shortcode in a Visual Composer tab (in a text box), the images get stacked on to each other. Is this an issue with the plugin?
I uploaded a picture on your support website to be more clear.
I responded in the forums, this is a styling issues caused by either your theme or VC.
There is a “call to action wide” option is under “Render Method”.
Perhaps my theme is adding options. That is really weird, because I don’t see the option in your videos. I will open up a ticket and post some screenshots.
Ah, OK, this is render method for my plugin. Sorry, I was looking at wrong plugin. My plugin builds the preview URL, but where it leads in the end is up to Envato. If the item has no preview set, it will lead to item page. Can you give me ID of the item and marketplace you want to show so I can test it.
On the “call to action wide” setting, the preview button links back to the page and not a preview of the image.
I don’t understand this, what “call to action wide” setting?
getting error Fatal error: Call to undefined function smw_get_envato_object() on smart-market-shortcodes/forms/about.php on line 3
plugin is not working its not showing anything
Do you get any other errors anywhere? I am finishing new version (to be released tomorrow) with updates for API changes.
its working now just getting error on log and about page
Nice layout, I can add this, but that will delay new version for a day or two. Since the errors are not critical, I think it can wait a bit more.
thanks here is better version of button that will get more CTR http://prntscr.com/amyl30
you can see these button on this website https://wpthemereviews.net/popular-premium-wordpress-themes/
It will have simpler buttons, but you can update them to your liking using CSS.
Hi,
ON this page : http://blogpascher.com/testo i used smart market widget and it’s display thumnail correctly on that blog.
One this other site of mine, i used smart market shorcodes, http://bloggopress.com/test-2
Please can you tell why thumbnail are displayed in vertical ? How to display them vertically?
Below, my shortcode : [smarkets type=’new_items’ market=’themeforest’ target=’_blank’ rel=’nofollow’ method=’thumbnail’ style=’sms-style-simple’ limit=’36’ sort=’new’ category=’wordpress’]
Thanks
When you build shortcode, make sure to check options for width of items and the whole shortcode block. By default, item width is 100%, and width of the block is 50%. You can set item width to ‘auto’ and width to 100%:
[smarkets type='new_items' market='themeforest' target='_blank' rel='nofollow' method='thumbnail' style='sms-style-simple' limit=36 sort='new' category='wordpress' item_width='auto' width='100%']
Regards,
Milan
Hi,
Worked. Thanks.
But i don’t understand why item title in full prevew is in black color : http://bloggopress.com/test-2
How to get the title in white color ?
Cheers
Hi,
Your theme has some stylings that are higher priority than plugins. You need to adjust styling for all elements that don’t look correct. Unfortunately, there is no way to make styling bullet proof, it always depends on the theme too, and some themes might have styles that are too general.
This style can solve your problem here:
.sit-preview-block h3 { color: #ffffff; }
Regards, Milan
Hi,
Thanks Worked. I Promise to recommand your plugin in this new site I’m building to promote envato product.
I love your plugins.
Just one last thing please. Is there any possible css code to change full preview background color ? I need to change the black background by a blue.
Cheers
Class for .sit-preview-block controls the preview box, and any styles you need to change should be applied to this class and it’s children. You should add any styles you need to modify into theme style.css or some other file that is loaded by the theme.
Milan
Thanks Milan,
I used this : .sit-preview-block { background-color: #339ad5; } and worked perfectly. I will rate this plugin too.
Great, glad I could help you. I can recommend you my other plugin: Smart Market Widgets: http://codecanyon.net/item/smart-market-widgets/3662532 for adding sidebar widgets with similar functionality as the shortcodes.
Regards, Milan
I already have this plugin. 
Excellent, thanks!
Good Plugin GLWS
Thanks!
Will these envato programs, market shortcodes and widgets, work with ‘allow_url_fopen=off’
I now get the following error, Fatal error: Cannot use object of type WP_Error as array in ////public_html/wp-content/plugins/smart-market-shortcodes/api/envato.core.php on line 498
This means that making of the call has failed for you for some reason. Plugin uses WordPress remote call function, and this function attempts to use any transport available to it: HTTPExt, Sockets, Streams, Fopen and finally Curl. It is possible that all of these are blocked on your system, and that’s why all this fails.
I will add some extra checks in the plugin to prevent such thing, and show the transport related messages on the plugin settings page.
Regards, Milan
I have this on two servers at the moment, one one it works fine, on the other, the above message.
I also have some other plugins, and that author is leading me to believe, that envato, is blocking my api calls for some reason, which makes sense to me right now. What are your ideas?
It is highly unlikely that all 5 transport methods WP supports fail. Other than that, I am not sure right now. But, I will have some basic error loggin inside plugin for next version.
Milan
Come to find out that it was unable to connect, to the envato api site, market.envato.com.
Since envato, and lots of web hosts can suddenly block access, it would be nice to perform a connection check to envato and log, display, or email any error.
Thanks.
Hi,
There is no real way to perform such test, since in most cases if access is blocked, no reply will be sent. But, latest plugin version has an errors log panel that shows whatever is received by Envato or transport method error, so you can see if there is anything there pointing to a problem.
Milan
There is no way to ‘ping’, the envato server?
Ping is not relevant, their response tells what is going on, but in many cases I have seen that their return empty response.