Forum Replies Created
-
AuthorPosts
-
Aakash
KeymasterHi 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,
AakashAakash
KeymasterHi 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,
AakashAakash
KeymasterHi 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.
Thanks,
AakashDecember 17, 2022 at 2:21 pm in reply to: Missing Shortcode = Non Useful Comment (Shortcode does not exist!) #12180Aakash
KeymasterSure, 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.
Aakash
KeymasterShortcodes 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#HTMLThanks,
AakashAakash
KeymasterPlease 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]
Aakash
KeymasterHi 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,
AakashAakash
KeymasterHi 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,
AakashAakash
KeymasterHi Brent,
Can you please share the page URL?
Thanks,
AakashDecember 15, 2022 at 12:11 am in reply to: Add second time notification bar is not showing to the user #12155Aakash
KeymasterHi 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,
AakashAakash
KeymasterHi 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,
AakashAakash
KeymasterHi @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,
AakashAakash
KeymasterHi @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,
AakashAakash
KeymasterHi 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,
AakashAakash
KeymasterHi @aj-tatum,
Thanks for using Shortcoder.
This option you are looking for is available in the PRO version.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 -
AuthorPosts