Forum Replies Created

Viewing 15 posts - 511 through 525 (of 2,058 total)
  • Author
    Posts
  • in reply to: Shortcode does not exist???
    Aakash
    Keymaster

    Hi Gary,

    Looks like you have a custom parameter named “name” i.e name="Smith".

    Please use a custom parameter other than name, since it is used to invoke the shortcode.

    Thanks,
    Aakash

    in reply to: Custom Parameters Get truncated on replacement
    Aakash
    Keymaster

    Hi Dennis,

    Shortcoder parameters accept double and single quotes only.

    w.r.t the latest query, I did not understand that or the context. When you say it does not work in description, what does it mean? Is it related to shortcoder? Any sample code/example/screenshots on that?

    Thanks,
    Aakash

    in reply to: RSS feed not working
    Aakash
    Keymaster

    Hi Jeff, Terrence,

    Yes, the RSS server for somereason prohibits requests from your site. They might block it based on the user agent, IP of the server etc.

    The code I shared above will change the user agent and mimic a normal user. Hopefully the server is ok with that.

    You can install a plugin like “code snippets” and paste the code in that.

    Code Snippets

    Thanks,
    Aakash

    Aakash
    Keymaster

    Sure, I can add the name of the shortcode name passed when not found.

    Usually users know what shortcode they have inserted, so the comment was not descriptive. I’ll add this change in next version.

    in reply to: Custom Parameters Get truncated on replacement
    Aakash
    Keymaster

    Shortcodes created with Shortcoder are like any other shortcode you use.

    I can add it to the Shortcoder’s doc too.

    More info on dos and don’ts in WordPress’s docs below.
    https://codex.wordpress.org/Shortcode_API#HTML

    Thanks,
    Aakash

    in reply to: Custom Parameters Get truncated on replacement
    Aakash
    Keymaster

    Please insert the shortcode with single quotes.

    [sc name='attribution_for_all_plant_photos_needing_it' text='Geekstreet, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons'][/sc]

    in reply to: RSS feed not working
    Aakash
    Keymaster

    Hi Jeff, Terrence,

    The error code 403 means “prohibited”.
    The RSS feed server is not allowing certain readers/servers to access that feed.

    Can you please paste the code below in your website and see if it works?

    function srr_set_user_agent( &$feed, $url ) {
        $feed->set_useragent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36');
    }
    add_filter( 'wp_feed_options', 'srr_set_user_agent', 10, 2 );

    Thanks,
    Aakash

    in reply to: Custom Parameters Get truncated on replacement
    Aakash
    Keymaster

    Hi Dennis,

    I guess you need to clean up the HTML in the shortcode content so that the output is well formatted and free of syntax issues.

    There are lots of “double quotes” and special characters in your HTML. You should spend some time analyzing and fixing them. Check if you can find any tools online to highlight the syntax and errors.

    W.R.T shortcoder there are no restrictions. What you set is what you get. The plugin never manipulates user code.

    Regarding default values, if no value is passed to the parameter for that specific shortcode call then the default value will be taken. There is no concept of inherited default values.

    Thanks,
    Aakash

    in reply to: Edit Hover Formatting
    Aakash
    Keymaster

    Hi Brent,

    Can you please share the page URL?

    Thanks,
    Aakash

    in reply to: Add second time notification bar is not showing to the user
    Aakash
    Keymaster

    Hi Vladislav,

    Thanks for using Announcer.

    Can you please share more details on the issue?
    Do you mean if the announcement bar is closed, it is not reshown when cache/cookies are cleared?

    Can you please share any website URL where issue is seen?

    Thanks,
    Aakash

    in reply to: Custom Parameters Get truncated on replacement
    Aakash
    Keymaster

    Hi Dennis,

    There is no restriction in the size of the custom parameter value.

    My guess is that the HTML syntax is disturbed because of some wrong double quote.

    Can you please “view page source” and check the HTML?
    Confirm if the full text is replaced.

    If yes, then it means that the tag is malformated. You might have to fix the syntax.

    I tried the example you shared and full text is replaced.

    Thanks,
    Aakash

    in reply to: Shortcode inline with text … no line breaks
    Aakash
    Keymaster

    Hi @grayson,

    Shortcoder helps to create “shortcodes” for frequently used HTML/CSS/JS snippets. It does not alter the content. So what you see without a shortcode is what you see with a shortcode.

    Glad that you found a workaround.

    Thanks,
    Aakash

    in reply to: Shortcode inline with text … no line breaks
    Aakash
    Keymaster

    Hi @grayson,

    I guess the gdoc shortcode is adding a newline at the end.

    Without using shortcoder can you directly insert the shortcode in a test post and see the results?

    example:

    [gdoc key=”https://docs.google.com/spreadsheets/d/MYGOOGLESHEETID/edit#gid=18337438″ query=”select AE limit 1 offset 2″ display=”inline” class=”no-datatables” use_cache=”no”] is the Men’s rating Leader

    Observe the output of the post. If the line breaks, then gdoc is adding a new line at the end of it’s output.

    Thanks,
    Aakash

    in reply to: Shortcode inline with text … no line breaks
    Aakash
    Keymaster

    Hi Grayson,

    Are you creating a shortcode using Shortcoder?

    What is the content (i.e HTML) of the shortcode?
    I would like to know how “inline google spreasheet” plugin comes into play.

    When you meant [shortcode] I’m nto sure if it is shortcoder’s one or the other plugin you mentioned.

    Can you please share more details? Screenshots would also help.

    Thanks,
    Aakash

    in reply to: Include extra code once per page if already added
    Aakash
    Keymaster

    Hi @aj-tatum,

    Thanks for using Shortcoder.
    This option you are looking for is available in the PRO version.

    Shortcoder

    In the shortcode editing page, you can insert the extra code which must be inserted only once at the bottom of the page when the shortcode is used multiple times.

    More on this here – https://www.aakashweb.com/docs/shortcoder/pro/extra-code/

    Thanks,
    Aakash

Viewing 15 posts - 511 through 525 (of 2,058 total)

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms