Skip to main content

Questions tagged [quicktag]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

Quicktags: Cannot make a span class

Edit: The solution is as follows: Needed to use <span class=\"title\"> instead of <span class="title">. I am trying to adding custom quicktags like this: function ...
user9159377's user avatar
1 vote
6 answers
904 views

Custom quicktags not working after Wordpress 6.0

Custom quicktags not working after Wordpress 6.0 wp 5.8.x/5.9.x: working -- wp 6.0: not working Buttons are not showing here: https://i.sstatic.net/aUXyV.jpg Console error: Uncaught ReferenceError: ...
Dominator0's user avatar
13 votes
1 answer
14k views

How to add "Insert/Edit link" button in custom popup tinymce window?

I need to insert some text in the body of the article, that turns into a "side-tag" by wrapping it inside some div tags with custom classes. I've created a custom button in tinymce that pops up a new ...
Achillx's user avatar
  • 383
0 votes
1 answer
318 views

Callback function quicktags that uses variable in start tag

I am trying to make a callback function that returns on click of a quick tag wordpress button dinamical generated variables inside the tags. Something like QTags.addButton( 'eg_wrap', 'WRAP ARROWND',...
Adrian's user avatar
  • 113
0 votes
0 answers
59 views

Quicktag button to automatically add a custom field to a post

Is it possible to add a quicktag button to the Wordpress add post editor which when clicked will automatically assign a custom field to a post? Sometimes I have 50 scheduled posts, 30 of which have ...
WPRookie82's user avatar
0 votes
1 answer
154 views

Add QuickTag in bbpress replies

I added an quicktag for my wordpress editor: function generico_quicktags() { if ( wp_script_is( 'quicktags' ) ) { ?> <script type="text/javascript"> QTags.addButton( ...
Vico's user avatar
  • 123
2 votes
1 answer
4k views

Remove quicktag buttons but not Visual / Text editor and tabs

I wish to remove the quick-tag buttons in the text (html) editor in TinyMCE but not the html editor itself nor the tabs for choosing between the editors. When I use $settings = array('quicktags' =...
myol's user avatar
  • 776
0 votes
1 answer
94 views

<!--more--> quicktag breaking FancyBox plugin on my blog's front page

I use a plugin on my blog that allows the user to click on an image to enlarge it in a pop-up window. My plugin of choice for this task is the FancyBox for WordPress plugin. Most of the time the ...
PowerMove's user avatar
1 vote
1 answer
153 views

quicktags "link" button doesn't work, but all other buttons do

I've added quicktags to a plain ol' textarea field which sits inside a metabox on a custom post type page. I can see the link button on the toolbar, along with the rest of the buttons, but when ...
Andrew's user avatar
  • 1,163
4 votes
1 answer
1k views

Automatically add <!--nextpage--> after X number of paragraphs

Is it possible to automatically add the <!--nextpage--> quicktag after X number of paragraphs? My client isn't exactly tech savvy so I'm trying to find a way to help them break up their ...
Poisontonomes's user avatar
1 vote
0 answers
296 views

pop-up options for custom quicktags

I always use HTML editor when writing an entry in my wordpress blog, I'm not sure why I can't bring myself to like the TinyMCE editor. After a while, I started to think about creating my own quicktags ...
Azis's user avatar
  • 31
0 votes
2 answers
857 views

Quicktags on all textarea.. Not working on plugin?

I want to put a couple of quicktags/buttons on a textarea which is outputted by a plugin called user submitted posts. I have given this textarea an unique id and read this on the Quicktags ...
user1627363's user avatar
0 votes
1 answer
429 views

Get the More QuickTag button back

I can't work out how to add the WP quicktag button back into the editor, I have customized the editor as below: function gimko_format_tiny_mce($in) { $in['remove_linebreaks']=false; $in['...
Brett's user avatar
  • 414
-1 votes
1 answer
168 views

Quicktag insert multiple lines

I use the Editor Quicktag Buttons to store special things like this example below is used to store the DIV's to make Columns on my theme. I need help, I want to modify the snippet below so that it ...
JasonDavis's user avatar
  • 1,670
2 votes
2 answers
3k views

Use quicktags toolbar on any textarea

reading the quicktags.dev.js i see in the comments * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties: * settings = { * id : 'my_id', ...
helgatheviking's user avatar
0 votes
2 answers
2k views

Remove default quicktags

I only want to display a subset of the buttons on the html editor button bar. What is the proper way to remove some of the quicktags? For intance I don't want it to offer "proofread".
dkretz's user avatar
  • 113
1 vote
2 answers
992 views

functional quicktag

I want to add quicktags that do more than just add markup. For instance, I would like to add a quicktag to run a function do apply a js regex on the page content. How can I add a quicktag that ...
dkretz's user avatar
  • 113
9 votes
1 answer
851 views

Customizing HTML Editor Quicktags button to open a dialog for choosing insert options

I am looking for adding custom quicktag buttons, that would allow me to display a intermediary dialog before inserting the code. Situation Clicking a quicktag button opens a dialog or thickbox ...
OpenOne's user avatar
  • 182
0 votes
1 answer
232 views

Prepending character(s) to a custom <!--more--> tag title?

I'm hacking around with a blog using Cordobo Green Park and I've noticed when I specify a custom title, instead of it beginning with a » symbol (as it does for the standard "» Read more: [POSTTITLE]")...
Chris Woods's user avatar
9 votes
2 answers
2k views

How set defaults on wpLink()

With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button: Take a look at wplink.js Line 278. ...
bueltge's user avatar
  • 17.1k