Tagged Questions
-1
votes
1answer
21 views
Creating Features List in Wordpress Post
I want to create features list in wordpress post. I know how to do in CSS but I was wondering if it can be done by using a short code or a plugin?. Like
[features_list]
Item 1
Item 2
[/features_list]
...
0
votes
1answer
33 views
Create Short code dynamically
I want to generate short code for my gallery dynamically. For a single gallery, it is easy to create a short code for my gallery using
add_shortcode( 'image-gallery', 'gallery' )
Now my question is ...
1
vote
1answer
312 views
Add htmlentities and/or shortcode into data-attributes
I realize this is crazy but, I built up a filtered gallery with quicksand and it pulls in a larger image, title and description when you click the smaller image it shows the data-img in a larger form. ...
0
votes
0answers
44 views
I need to create a dashboard widget with input field and will display the text as shortcodes in posts
Hi I need to make automated price updater of my learning materials (e-books, videos, posters etc.) and it's such a drag every time I need to change prices on them to open every single posts because ...
0
votes
0answers
32 views
Gallery inside posts
I'm looking for a solution to a certain type of gallery I want to use inside posts. These posts have tons of content, including pictures. I want to create a gallery like the one in this image I made ...
0
votes
1answer
48 views
Get variable value based on string constant
In my plugin I define a constant as follows:
define('DEFAULT_NUM', 5);
I also define a constant representing the name by which I want to refer to this number:
define('DEFAULT_NUM_NAME', ...
0
votes
0answers
40 views
Wordpress gallery [closed]
Today i'm not searching for an perfect answer, but i'm searching more for an advice.
Notes to Admin : i'm sorry if it's not the right place for that kind of question but I haven't found any better ...
0
votes
1answer
50 views
Unable to add TAB character to post?
I am using the CodeColorer plugin to display source code in my WordPress. I am trying to have my code indented so that it displays properly on the website. However, when I try to add the following ...
1
vote
2answers
55 views
how to check if a shortcode is used more than one time in the same post
I've written a shortcode plugin.
Basically the plugin has the following structure:
PL::setup();
class PL {
public static function setup() {
add_shortcode("myshortcode", array ( ...
1
vote
1answer
57 views
wp_specialchars and wp_specialchars_decode in a shortcode plugin
I have written my first plugin, a shortcode plugin. I have read about wp_specialchars and wp_specialchars_decode but I'm not sure how to use them.
The plugin read a shortcode allowing some parameters ...
3
votes
2answers
201 views
All shortcodes not working on custom theme
I'm using a custom theme not developed by myself that seems to have disabled/ or doesn't have the function for any and all Shortodes, whether its a WordPress shortcode or a plugin shortcode. I mostly ...
-1
votes
1answer
162 views
Display HTML5 jQuery Audio Player On Front Page
I would like to display the plugin HTML5 jQuery Audio Player 'centered' on the front page of my site. The plugin comes with shortcodes for posts and pages but my front(home page) only works with the ...
0
votes
1answer
107 views
Convert usernames listed by the Groups plugin shortcode to displayed names?
I have created a group with the Groups plugin and I want to display the members list of that group. I put the shortcode [groups_group_info group="Group Name Here" show="users"] in a page, but it ...
-2
votes
3answers
40 views
Shortcode return is printing a 1 afterward
function build_total_search_method( $atts ) {
$shorcode_php_function = include( dirname(__FILE__) . "/includes/total_search.php" );
return $shorcode_php_function;
}
add_shortcode( ...
0
votes
2answers
198 views
How to use 'Event Manager Shortcodes' plugin via the php code?
I am using Event Manager plugin. I want to use many of the shortcodes via php code. e.g [events_calendar]
1
vote
1answer
61 views
Shortcode output appears before post body [duplicate]
Possible Duplicate:
short code output too early
How can I insert my plugin code via shortcode inside post body in exact position?
The problem is that wp engine inserts the plugin code ...
1
vote
1answer
36 views
Storing Options in a Shortcode
I am creating a Wordpress plugin. I want to create 1 single shortcode that changes output based on the settings changed by the user on the admin settings page.
So for starters, I have something like ...
0
votes
1answer
580 views
Adding Shortcode to Text Widget
At the moment, I'm running WordPress v3.2.2 (soon to upgrade to v3.4.2), and am trying to insert shortcode to insert Issuu into a text widget on our sidebar. The WordPress plugin I installed and am ...
0
votes
1answer
86 views
Adding a Tag Parameter / Filter to My Shortcode
I have this plugin that displays category featured image thumbnails for each post via shortcodes.. like so,
[categorythumbnaillist 3] (3 being the category of course)
I would like it to only show ...
0
votes
0answers
43 views
How can i procede to create a visual layout builder for my shortcode? [closed]
I have a wordpress blog. i have a custom shortcode for columns - 1/3 columns.
i was just wondering how i can add a visual layout builder like shown here in the video - http://tinyurl.com/cjmnjr3
it ...
4
votes
2answers
4k views
How to add a shortcode button to the TinyMCE editor?
How to make any plugin icon in wordpress post? The code I want to insert in plugin code and will appear in post bar [wp-admin/post.php].
Like this image:
Output: If I click the icon it ...
2
votes
1answer
494 views
Frontend editing, Frontend user dashboard
I am creating a website so that users can submit their articles from the front end. I have quite a few things set up:
The ability to submit custom post types from the front end
Blocked from the ...
1
vote
1answer
168 views
echo do_shortcode is not working on theme's template
I don't know whats causing the problem but the echo do_shortcode is not working on my theme's template, but its working on my plugin's template and the shortcode is working on my posts and pages. ...
2
votes
1answer
65 views
Short code for Venues
I am using the Event Organiser plug in and I am trying to setup the "venues."
In the post my client and I would like a little more information on the venue to appear,
I found the short code for the ...
1
vote
1answer
149 views
do_shortcode() doesn't work if shortcode contained in variable, works if shortcode passed as string
I'm developing a plugin, wherein one of the features is to switch out forms on a specific page by changing the shortcode within a custom field.
within my plugin file:
function getShort()
{
...
-1
votes
3answers
116 views
do_shortcodes() isn't working
I'm making a homepage template for my theme and I want to call a plugin, namely royalslider.
Surely
do_shortcode('[gallery id= "1"]');
Should do the trick?
-1
votes
1answer
30 views
Shortcode returning specific content of a post
I'm currently building a plugin to display specific part of post after accepting verification code. Can a shortcode return a part of a post? I mean:
Bla bla bla
[shortcode postID="100"]
Special bla ...
0
votes
1answer
134 views
plugin shortcode output
I have a plugin which uses this shortcode: [daisy]
And the html output of this shortcode is : <a class="clickable">Click Here</a>
Plugin is working perfect if I use the shortcode to ...
1
vote
0answers
58 views
NextGEN Gallery- using shortcode for different galleries on different pages [duplicate]
Possible Duplicate:
conditional shortcode not working
I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery.
I ...
0
votes
1answer
157 views
Filters on the_content with plugins, pages and shortcode
I am using a plugin to add tweet, likes... This plugin add filters to the_content() to display this social buttons on a blog page (list of posts).
I coded a shortcode which does a custom SQL query ...
0
votes
1answer
45 views
My plugin won't return anything [closed]
I am trying to write a simple plugin to insert some post links in a post at the right place.
The query part works okay in a template, but my attempt at a displaying via plugin just returns a blank ...
0
votes
2answers
382 views
WPTouch - how to remove shortcodes or make shortcodes function
So as the title states - using WPTouch Mobile plugin (NOT Pro) I either want to make the shortcodes work as they should or remove them altoghether.
Currently they render on the page as [shortcode] ...
0
votes
2answers
114 views
Which is a better practice when writing shortcodes: pack lots of configuration parameters or just give an id?
I am writing my first wordpress plugin which inserts a visualization widget inside a post. I am planning to use a shortcode for my plugin. I followed an excellent tutorial about writing shortcodes. ...
0
votes
1answer
845 views
plugin shortcodes not working on custom theme- unsure how to fix
Live site.
I've got a custom theme that is giving me slight issues with shortcodes- they don't work. When I switched back to the default theme, the shortcodes worked fine. What do I need to look for ...
-1
votes
2answers
162 views
theme doesnt load plugin script from shortcode [closed]
I`ll try to make this as informative and clear as possible.
Im using a combination of two themes on my site, grid-a-licious and normal for different view modes.
the two themes get their files from ...
1
vote
1answer
458 views
How to put JQuery/Ajax inside shortcode?
The purpose of this plugin is to create a list that users can modify with up or down votes. The shortcode is supposed to display the list on a page and use JQuery to fadeIn and fadeOut while updating ...
2
votes
2answers
140 views
What characters are allowed as a shortcode tag and how should they be sanitized?
I am working on a plugin where the user can define shortcode tags himself. What would you suggest to allow in there? My thought is only allow ascii characters.
So how do I sanitize? strip_tags and ...
0
votes
1answer
45 views
1
vote
1answer
144 views
shortcodes displaying outside of content area with echo statement, not what I wanted [duplicate]
Possible Duplicate:
Shortcode always displaying at the top of the page
I have my shortcode system set up fairly normally, like so:
//[carouselle]
function carouselle_func( $atts ){
...
0
votes
2answers
319 views
Wordpress Download Manager or similar [closed]
I'm looking for a plugin that allows me to upload a file and provide me a shortcode link that I can edit manually. I tried Wordpress Download Manager that create a shortcode like
[wpdm_file id="1"]
...
1
vote
1answer
55 views
wordpress prevent multiple shortcodes
I created a wordpress plugin and I added shortcode feature to it. but i want to execute only one shortcode and prevent applying of multiple shortcodes if the administrator did so.
0
votes
3answers
1k views
How to pass multiple values in shortcode?
All
I am using formidable plugin and on one page i need to use 5 shortcodes.
[frm-entry-delete-link id=9 page_id=25 field_key=hsn108]
[frm-entry-delete-link id=12 page_id=25 field_key=cp7pi]
...
0
votes
1answer
78 views
grab or load text on demand
What i want to do
I want some content (could be stored any where in a post or custom field) to load only when the user clicks for it to load. This content could be any thing (text,images,html etc) ...
3
votes
1answer
237 views
Adding Custom Fields for Img in Posts
I'm wondering how I'd be able to set a custom field within my Wordpress posts. I want to have a field available to add an image via the Post dashboard - that has a max width & max height set, I ...
9
votes
5answers
1k views
How to include code only on specific pages?
I'm learning about plugins and shortcodes. I noticed that when I activate my plugin its code gets loaded on all of my pages-- even pages that don't have my shortcode. (I don't mean content vs. admin ...
0
votes
0answers
348 views
Having problem coding tiny mce button for my plugin's shortcode [closed]
i have this plugin named toggle-box which insert the shortcode [toggle Title="the title"]text[/toggle] and allows me to use this shortcode to insert toggle boxes in to wordpress blog i as tring to add ...
0
votes
2answers
175 views
Shortcode does not expand in Facebook like
I am using Facebook Like Button plugin on pages that just contains a shortcode. When I Like the page and post to Facebook, it shows the shortcode without expanding it. I want to show the expanded ...
1
vote
4answers
139 views
Snippets: is it better to add them in functions.php or make site-specific plugins?
Should "snippets" (short code or functions) be added to:
the theme's functions.php?
OR
make site-specific plugins?
Which is better from technical, security, performance, etc., standpoint?
...
1
vote
1answer
160 views
Can some one please tell me what is wrong with my plugn?
two days back a made a plugin that allows me to insert toggle box in to the post with the short code [toggle Title="My title"]toggle test[/toggle]
i also posted my plugin on wordpress.org plugins
...
0
votes
1answer
43 views
How can I replace content on site generated from plugin without changing plugin
I downloaded a login form but I'd like to change its content without actually changing the plugin files so that it won't cause problems when updating later on. How can this be done?
