The tag has no usage guidance.

learn more… | top users | synonyms (1)

2
votes
2answers
410 views

Custom Shortcode and Button not Working after 3.9 update

I have added a new button that creates a short code but it seems that after the newest WordPress update, the button is not working any more. The button is visible but when someone clicks it, nothing ...
0
votes
2answers
730 views

Creating a Link Text like Submit Button in Admin Page

I'm making an admin page for my plugin and I'd like to make a text link designed like the form button of admin pages. I tried this but didn't work well. <a href="" cless="button-primary" ...
1
vote
2answers
42 views

How to add a button to custom post type's posts-page

How can I add a button to a posts -page. (In this case a custom post type). I'd like to place it next to, or near, the "Add new" button, to import content from a web service.
0
votes
2answers
514 views

WooCommerce: Can't change / style button colors

I'm trying to change the colors of my buttons from a default reddish color to something more pink. So I go to my child theme and insert the following code: .woocommerce a.button.alt, ...
0
votes
0answers
13 views

Editable PDF that has a submit button that saves the pdf as an attachment

I'm wondering if anyone has had to present an editable pdf that can be saved and submitted from a webpage? I have a careers page that I would like to have users come onto, click a button to open the ...
0
votes
1answer
21 views

PayPal buttons not working after 4.2.4 upgrade

After my WordPress site was updated to 4.2.4, my PayPal buttons no longer work. I can SEE the buttons, but can't click on them and go to PayPal. Hovering over the button shows no web link. I've ...
0
votes
0answers
14 views

How to add a 'Save Changes' button to this custom options page?

I have recently created a custom options page for my plugin. It has 2 sub menus, one of which doesn't contain any options but that's correct. On the main menu area (where the options are) I have 2 ...
0
votes
1answer
2k views

Simple Button onClick to trigger jQuery function

I have looked similiar questions but any of it didn't worked I want to trigger jQuery function with onClick button, but it didnt worked. HTML structure : <button class="my-button" ...
-1
votes
1answer
715 views

add button to tinymce

i have the following method to insert a button in Tinymce editor: in funcitons.php: class myclaff { function __construct() { add_action( 'admin_init', array($this, ...
0
votes
0answers
10 views

Change strange simplepress/wordpress behaviour - default name in Forum log-in page

Here is my forum - http://epilens.com/forum/. There are 2 strange behaviours I would like to change: 1) Under the Forum title it says, "Welcome back (my name)" even though I have logged out, is there ...
1
vote
1answer
1k views

Permalink doesn't get displayed in Twitter button (Local WordPress problem?)

I'm trying to add a custom "Tweet this" button to my WordPress posts. I'm sticking to the official Twitter guidelines. Here is what I'm actually trying to pull of; I don't want the button, I want a ...
0
votes
2answers
33 views

how to get rid of header banner buttons on child themes [closed]

I had just made my child theme yesterday which is dependent on the parent theme but i was wondering how do i get rid of the header banner buttons which i had inherited from the parents theme from the ...
0
votes
1answer
13 views

A conditional button

I wish to add a button to a page of my site that redirects the user to the signup page, if he is not a registered user, and to another page of the site, let's say Test_Page, if he is a registered ...
0
votes
1answer
23 views

Open 'View Page' Button in Editor in new Tab

I know it sounds like a Basic Question and I did google first. Google lead me to edit /wp-admin/edit-form-advanced.php to put target='_blank' there. I did that, but this doesn't seem to affect the ...
0
votes
0answers
28 views

WordPress Settings - Custom Button actions

I'm building a settings page of a plugin using the WP Settings API. So far so good, every fields are saved fine. Finally I need 2 extra custom buttons (besides the original submit button) which ...
0
votes
1answer
31 views

Eliminate menu collapse button on website

I have a website I'm working on sandyhookfoundation.com/wp. It loads on desktop browsers with a "menu" button in the top left corner of the main menu. I cant seem to find how to eliminate it. I ...
0
votes
0answers
84 views

Woocommerce quantity buttons not working

I am trying to increment products on my wordpress site, but it doesn't work no matter what I tried. I searched for diffrent solutions, but nothing so far. I am currently using WordPress 4.2.2 and ...
1
vote
1answer
909 views

Adding TinyMCE buttons without removing plugin buttons?

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is the default TinyMCE configuration. It'll add things ...
0
votes
1answer
19 views

How to implement custom buttons into individual posts?

Is there any way that I can code custom buttons for liking, sharing, and tweeting on individual posts on wordpress. If so, how would I link the like button to like the post on Facebook and how would I ...
0
votes
0answers
58 views

How do I create a custom add media button modal?

I've created a custom media button for the admin in editing posts, but am having trouble figuring out how to create a view for the modal. I'm not trying to insert uploaded media; I'm trying to allow ...
0
votes
0answers
329 views

Woocommerce “Add to Cart” ajax

On the product category page, when someone clicks "Add to cart", woocomerce adds automatically "View cart" below this button through Ajax. I found that the script in /assets/js/frontend/add-to-cart.js ...
0
votes
0answers
361 views

Ajax Button to load more Posts into a timeline

I am setting up a timeline page for a customer and so far i have designed the timeline and i am using 2 loops to place the posts in 2 columns (left and right) where the first post is located at the ...
0
votes
0answers
14 views

How to add the tab button like Add Media in wordpress post and page as the image below? [duplicate]

I want to add the button like Add Media in wordpress page and post which will help to insert the shortcode.How to insert that button ? If anybody have any idea please share.
0
votes
0answers
31 views

Hide/show radio buttons stop working on save

everyone! Here's my case. I'm developing a little widget, and I was looking for a way to hide/show different DIVs on selecting a set of radio buttons. I found the proper code and adjusted it to my ...
0
votes
0answers
52 views

How to display everytime Next and Previous button?

How i can display everytime next and previous? When i'm in first page or last page the previous and next button disappear, i want display everytime the next and previous button. Here is my source ...
0
votes
1answer
345 views

Insert media button will always add into the same tinyMCE editor

I have an issue with the insert-media button. I have 2 instances of tinyMCE with both Add Media button. When I add a media in one of the two tinyMCE, all my media will go in this after, whatever which ...
0
votes
0answers
37 views

Make a button change meta_value

I would like if someone could point me in the right direction for doing this. Each post frontend should have a button that changes the database value on/off if the user is logged in. Ie.: post_id: ...
0
votes
0answers
7 views

Creating button in meta box that downloads CSV file [duplicate]

So I try to put a button in side a meta box in an admin page editor. <input id="csv" class="code" type="submit" name="emails-download" value="Download" /> after I submit it I can't see the ...
0
votes
0answers
49 views

Delete entry from DB

i created plugin and now i want to add delete button, that user can delete one entry from DB table.. Here is my code i form.. function showresult(){ ?> <form method="post" ...
0
votes
2answers
71 views

Adding a button to a product if it's in a category, then linking to that category

I've got a site with products... and some of those products are in categories (collections). For those products I want to show a button 'view the collection,' and have that link to the category. So, ...
0
votes
1answer
186 views

How to Make admin Sidebar Menu always be Collapse by code

I have solution with js that click on the Collapse button, but this is no good solution. I want to make this work true DB with php code. I found that the table who hold this value is wp_usermeta. ...
0
votes
0answers
73 views

How to turn wp_loginout() link into button

There is a login/logout link in a widget I'm using and i really would like a button instead with the same functionality as the link. I know that the link is called via 'wp_loginout()'.
0
votes
1answer
110 views

Generate Own Custom CSS Button with icon

I recently changed my WordPress theme and noticed that all the buttons in previous theme are gone and are now looking like this on my new theme: [button link="http://.....com" style="download" ...
0
votes
1answer
2k views

Primary and Secondary Button Classes

I'm trying to style some buttons in a function (below) with the default WordPress button classes but the buttons are not being displayed (only the hyperlinked text is showing). I also tried ...
2
votes
2answers
1k views

TinyMCE Anchor Button not showing

I'm using this filter and function to display a custom, stripped-down version of the TinyMCE editor. Everything works as it should...except the 'Anchor' button will not show ('anchor')? According to ...
0
votes
1answer
258 views

Create special button on WP Tiny MCE Posts Editor for Shortcodes

I am trying to create a special button on the Tiny MCE editor on the Post Editor of Wordpress. I want to create a button for my created shortcode tooltips. Check out my desired output: ...
1
vote
1answer
934 views

“Loadmore” button is not working in buddypress [closed]

"Load-more" button in the activity stream page in buddypress is not working for me. If clicked means , it disappearing suddenly but no more posts are loaded. <?php if ( bp_get_activity_count() == ...
1
vote
1answer
320 views

Paginated Posts - Social Media Buttons Share First Page URL

I currently have the HTML5 Facebook, Twitter and G+ share buttons inserted into my single.php in WordPress, so it appears on all my post pages. Everything works great until I write a very long ...
0
votes
2answers
234 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 ...
0
votes
1answer
127 views

Putting a space between the buttons [closed]

<?php echo do_shortcode('[su_button url="http://google.com/checkout/" target="self" background="#2D89EF" color="#FFFFFF" size="3" wide="no" center="no" radius="auto" icon="icon: shopping-cart" ...
0
votes
2answers
2k views

Function won't run onclick using Ajax

Ok, so my code is meant to be pulled from the function using the jquery code below, but it isn't pulling the code and I can't see why not. My pages code <script> var click_to_choose_user = ...
0
votes
1answer
44 views

Functions are causing errors

I'm declaring a function on a plugin's PHP. The plugin loads code at the top of each post (Post Layout is the plugins name). Cannot redeclare vote_up() (previously declared in ...
0
votes
0answers
48 views

Display multiple “save draft button” on a post edit

I am aware of the submit_button() and get_submit_button() function, but can I call a "save draft" button on the same way? I have a very long "edit post page" and would like to display the save draft ...
0
votes
3answers
3k views

adding a button to the media uploader

I am writing a plugin for Wordpress and am wondering how to add an extra button to the media uploader that says something like "add to album". I can't seem to find info on how other developers have ...
0
votes
1answer
2k views

Using Multiple Submit buttons to trigger customised php functions

I may be going about this completely the wrong way but bear with me... I have a long guestlist that is automatically populated using a foreach table. I would like to put a 'No Show' button on this ...
-1
votes
2answers
49 views

Button not working?

In my code add_post_meta is ignoring the button around it and is executing anyway. Why is this so? I've tried the following: <input type="submit" value="Test" id="submit"> $thisid = ...
0
votes
1answer
345 views

disable publish button until condition is not met

I currently wrote a plugins to customize my wordpress website. I surprisly find it easy to do many things with hook. Now I want to make author not be able to push publish button if no category is ...
0
votes
1answer
104 views

How to include backend buttons css on frontend?

I want to include backend buttons css on frontend in a plugin? This is how its inluded in backend: ...
0
votes
0answers
188 views

Customize TinyMCE Buttons

I've always used the plugin TinyMCE Advance that lets me drag and drop which buttons I want to show in the Editor. Now I'm trying to set those using my functions.php instead. That way I never have to ...
1
vote
3answers
541 views

Editing Screen: Make Update or Publish Button Follow The Page

The Problem: I am currently in the finishing stages of a premium theme I've been developing and all is mostly well. For pages I have a few custom meta boxes for adding in slideshows and other ...