Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Adam D

    (@adamdionne)

    Hi,

    The first step is to create a custom post attribute. You can do this on a specific post by putting it in the Custom Fields.

    Name must be appId, and the value is your App ID, eg: 476468390.

    After that, the shortcodes for that post no longer require the id= attribute, and can be used simply as follows: [asl_icon]. You can still use other shortcode parameters as usual.

    Using this feature also automatically adds an App Smart Banner to your page for the appropriate app.

    Note: As of WordPress 3.1, the Custom Fields box is hidden by default, but is accessible by the Screen Options tab at the top of the page.

    Adam,

    I’m having issues with the appId as well…..I’m running the latest version of WP, have your plugin installed and I’ve created a test post and added in the new Custom Field of “appId” and gave a value of “449193961” (the sample app used on your website). I then added in one of the shortcodes ([asl_icon id=449193961 w=128]), saved the post and I’m getting the following error message:

    Warning: file_put_contents(/home/xxxxxx/public_html/xxxxxx.com/wp-content/plugins/appstore-lookup/cache/asl_fa86721930a59a5ddc5becf44161faea.txt) [function.file-put-contents]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/xxxxxxx.com/wp-content/plugins/appstore-lookup/asl.php on line 400

    Warning: file_get_contents(/home/xxxxxxx/public_html/xxxxxxxxx.com/wp-content/plugins/appstore-lookup/cache/asl_fa86721930a59a5ddc5becf44161faea.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/xxxxxxxx.com/wp-content/plugins/appstore-lookup/asl.php on line 401

    That app ID was not found.449193961

    Plugin Author Adam D

    (@adamdionne)

    Hey,

    I’ll look into this ASAP.

    If you remove the id= from the short code does it work? You shouldn’t require it as long as appId is set for that post.

    I removed the id in the short code and it still didn’t work…….so, you don’t need the custom field, right? You can just add the id directly in the short code for an app? I tried that and it still throws the error message.

    Install plugin, insert short code into new post with id # and it should work, right? It seems simple enough.

    Here’s an example of a short code I entered that will not work:

    [asl_screenshots id=449193961]

    Here’s the sample web page:

    http://bestfreeappstodownload.com/test/

    Thanks for your help,

    JLC

    Adam,

    I just uninstalled the latest version and then installed version 1.0……it seemed to work right away…I’m still doing some testing and will post a follow up.

    Thanks,

    JLC

    Plugin Author Adam D

    (@adamdionne)

    Thanks!

    I see where the problem is and will fix as soon as possible. Should be an update very soon.

    Cool!

    Let me know when you get the bug fixed…..I’ll make sure to give you a 5 star rating!

    Thanks,

    JLC

    Plugin Author Adam D

    (@adamdionne)

    v1.3.1 is up and contains a fix for this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to use appId?’ is closed to new replies.