What does it mean?
-
Hi,
I have been asked do the following but don’t understand what is being asked of me;
Create a WordPress shortcode that displays some text within a date range on a page of content. The text and both dates should be provided within the shortcode.
The form of the shortcode should follow this outline:
[datetext from=”start date” to=“end date”] text to be displayed [/datetext]
The blog I need help with is: (visible only to logged in users)
-
Hi there,
could you please provide in which context were you asked to do that shortcode?
To understand what a shortcode is, and for the list of shortcodes supported by WordPress.com, see this support document.
-
Thanks for getting back to me, sadly that’s all i’ve been given and I am new to this so don’t understand what the output should be…
-
I tried to google something out, but no success.
From what you wrote, I would expect the shortcode to display text “text to be displayed” in certain date range.
General instruction for inserting shortcode is:
In your WordPress.com dashboard, go to Posts → Add New or Pages → Add New (or open an existing post/page in editing mode). Paste the code directly into your Text editor. (You can switch between the Visual and Text editors using the tab at the top-right of the editing box.)
-
Is this short code for a “WordPress” class or a programming class? If so you are in the wrong forum and need to get help probably at WordPress.ORG as you can use short codes here but not write short codes (only the staff here are allowed to do that)
WordPress.ORG the keepers of the software you are probably using: http://wordpress.org/support/
The forum at WordPress.ORG is not connected to WordPress.COM so you will need to open an account at .ORG if you do not already have one. You may use the same email at WordPress.ORG as you do at WordPress.COM.
For more on the difference: http://support.wordpress.com/com-vs-org/
- The topic ‘What does it mean?’ is closed to new replies.