Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [buttons]

The tag has no usage guidance.

0
votes
1answer
16 views

Why are my button images blurry on mobile screens?

I have a few custom buttons I've inserted with php throughout my wordpress site. They are crisp resolution images (either gif or png), but when viewing it on my iphone screen, they're blurry. I ...
0
votes
0answers
19 views

How to execute certain code on back-end button press?

I have a small and growing collection of code fragments for things that should only be executed once. For example, a one-time pass that adds information to every taxonomy term. As of now, I have been ...
0
votes
0answers
51 views

WooCommerce Add To Cart button not working (JS problem?)

I'm having a terrible issue a few hours before platform opening! Please help. I don't know why, but yesterday evening the ADD TO CART BUTTON stopped working, while some days ago it worked perfectly. ...
0
votes
0answers
10 views

Add button or functions to column in table from csv file import

I publish in a site information received from a .csv file as a table with a plugin of type wpDataTables or Table Generator with for example the following information in the following form: "Job Name" "...
0
votes
0answers
14 views

i want to add a button which can save user selection

<?php add_shortcode('computer_repair_devices', 'computer_repair_devices_func'); function computer_repair_devices_func($atts, $content = null) { extract(shortcode_atts(array( 'title' =&...
0
votes
1answer
27 views

Edit value=“” of a button in child theme

I am not really a developer, just can do bits and bobs and I am looking to change button text in a plugin but through a child theme. What I've done is created the plugin folder structure as in ...
0
votes
0answers
12 views

Following authors on a multiauthor site

How do I allow authors to follow other authors in Wordpress? I don't want to use Buddypress because that is very inconvenient for me. I just want a follow button in every author's bio and when a user ...
0
votes
0answers
18 views

Wordpress Toggle Menu has stopped working

I am using the twentyfifteen theme on my wordpress site. When you access the site on mobile or resize on your browser so that the page height > width, a hamburger icon appears on the upper right. I ...
0
votes
1answer
13 views

Add Cancel Button to a Custom Meta Box

Any ideas how I could add a cancel button, like the default one in the Publish meta box, to a custom meta box? The standard code is <a href="#visibility" class="cancel-post-visibility hide-if-no-...
0
votes
0answers
13 views

Problem adding several images

first of all thank you for reading my question and see if I am lucky and someone can help me. I am creating a fashion website and I bought a payment template that was very well suited to my needs, ...
0
votes
0answers
7 views

Add an Upload Button on Wordpress Dashboard

I have a membership site, and once a member registers, a Wordpress subscriber account is opened for them. Can someone give me a code to add to my functions.php if I want an upload button to appear ...
0
votes
2answers
1k views

Add “add to cart” button to every product on the category's page

I need to place Add to cart button at every product on the page of certain category as shown below How can I achive this? Link to subject page oma-fintess.com.ua
-2
votes
1answer
222 views

Woocommerce - Remove 'Buy Product' Button from shop page [closed]

I have an affiliate website displaying product images. On the store, category & attribute pages I would like to remove the "Buy product" button. I have found a lot of results for removing the "...
0
votes
1answer
357 views

How to insert a Button or custom text on twentyseventeen header

Is it possible to add a button, svg and extra text paragraph to header image on the twentyseventeen theme? This is an example of what look I'm trying to achieve https://github.com/ppass5/...
0
votes
1answer
118 views

<button> element not working in Safari [closed]

The Show Me button on my homepage does not work in Safari (on both iPhone and mac). Can someone take a look and give me some ideas to try. The homepage is this.
1
vote
0answers
32 views

add media button is not working

Since last week I am experiencing that I am unable to add media to a portfolio item in the Parameters and Options field. When I click the button, nothing happens. When installing the theme on a sub-...
0
votes
0answers
268 views

Adding gif loader to Add to cart button WooCommerce

I have an add to cart button on product archives page with the following code <div class="add-to-cart-button"> <?php // CODE $ajax_class = $product->supports( 'ajax_add_to_cart' ) ...
1
vote
1answer
25 views

CSS style button For WP Login Function in page template

I am using Avada theme. I have a page template created where I placed the WP Login function: <?php wp_login_form(); ?> Here is a live page: https://webariaserverfour.com/content-restricted/?...
0
votes
0answers
18 views

When I click update, the changes are not saved and I am taken to the posts page on the backend

Site was working fine. Presented to client on Friday who made final change requests. Now on Tuesday when I want make changes to pages but the update button does not function as it should. I have ...
0
votes
0answers
73 views

Create Button for Shortcode in Text Editor

I'm trying to figure out how to create a button in the WP Text Editor and TinyMCE Editor to trigger the following shortcode. It's a shortcode to create columns (connected with CSS Grid Foundation), ...
0
votes
1answer
39 views

button to toggle css styling / div visibility?

I'm trying to determine if it's possible to add a button that toggles css styling. I thought of starting with something like this: add_action ('woocommerce_before_cart' , 'cart_multi_step_buttons' , ...
0
votes
0answers
411 views

how to move add to cart button to quantity button in single product page?

please help me guys! i am wondering how to move 'add to cart' button next to 'quantity button' in single product page. I am not familiar with php codes. the default value of add to cart button is not ...
0
votes
1answer
152 views

Woocommerce - Remove 'Buy Product' Button + Make Product Thumbnails Clickable

I want to solve the following tasks in my Woocommerce website: 1) I need to remove the 'Buy Product' button from my Woocommerce catalog: I could introduce a 'display: none' in my CSS file for that ...
0
votes
0answers
168 views

TwentySeventeen video header mobile button unresponsive

I tried to make the header video in the TwentySeventeen theme available for mobile. The video showed up after adding minHeight and minWidth to the custom-header.php file: function ...
0
votes
0answers
20 views

Override admin submit_button() functionality

I would like to be able to override the submit_button() functionality, so that I can display it as a <button></button> element. Is that possible? I saw that the source is in wp-admin/...
0
votes
0answers
13 views

Add different set of Call To Action Button to posts based on its category

I have hundreds of posts which are grouped in different categories like Data Science, Data Analytics,..etc. I need to add CTA buttons between the posts which redirects the user to page based on its ...
0
votes
1answer
24 views

creating different style CTA button in the menu

I'm wondering if there is a possible way to create two different CTA button style in the same menu in WordPress I've tried something like that by creating two menu href and add two different [btn] ...
1
vote
1answer
367 views

Change “add to cart” button color based on Woocommerce product category [closed]

I am trying to change the colour of all the "Add To Cart" buttons on the Products/Archive page, based on the category which the product is in. I have a filter already applied on the products/archive ...
0
votes
1answer
41 views

add share buttons above my posts without plugins

I'm trying to install share buttons above the articles of my site and I found this piece of code. Starting with, my problem is that the code is displayed at the end of the articles. I would rather ...
0
votes
0answers
12 views

when clicking update after page editing it returns this page not working in wordpress

wordpress page update button not working correctlyl,it returns page not working other pages of my wordpress site also doing the same.. Give some ideas you know.. Thanks in advance.
0
votes
1answer
33 views

How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?

I've seen this kind of thing on countless sites for different things. I'm sorry if I don't know the name of it, but here is an example of it: See where they have the textbox and it has their address ...
0
votes
1answer
25 views

How to add a new button on post

I would like to add a button next to the edit button on each article, with a link to a specific page. This button is for translation purpose. It should redirect the user to the translation page of ...
1
vote
0answers
18 views

Add multisite switch button. Click to switch to other page in same admin area

im new to this, so can anybody tell me how to get the active admin_url() of the page im currently on in a multisite wordpress backend. I want to implement a button that goes from one backend to ...
0
votes
0answers
29 views

Print data and metadata from buton in submit box in edit.php

I did what mukto90 says here and finally got my button placed just where i like it. But now i need to send to printer some data from the post (title, id, ecxerpt, etc) when the buton is pressed, and ...
1
vote
1answer
474 views

Redirect customer to login if not logged in when proceeding to checkout

I'm trying to redirect customers, who are not logged in, when they push the "proceed to checkout button" on my cart page but nothing happens. Here's my code: function custom_redirect_checkout(){ if (...
0
votes
0answers
90 views

WP list table custom column post button

I'm new in wordpress. I'm testing some tutorial plugins list table it works, but I want to add new custom column wih a post button action, how can I implement that? My code is the same one on the link ...
3
votes
1answer
9k views

Hook and send Woocommerce data after click Place Order button

I'm finding the way to add a hook to my woo commerce check out page (http://localhost/checkout) I'm tend to send cart items and billing address, user information to another page such as http://...
-1
votes
1answer
233 views

Add new MCE button for toggle specific cell background color

I'm using tables as a calendar for free dates in my schedule. You can see free dates here. http://www.zachrannastanicelipec.cz/smysly-terminy/ Now I'm using the Table->Cell->Cell Properties->...
0
votes
1answer
209 views

Cannot access $wpdb, comes back NULL

I'm developing a rather simple plugin using the Wordpress Plugin Boilerplate. Utilizing AJAX, I set up a action based upon a button press that's supposed to remove an item from the custom database ...
0
votes
1answer
1k views

how to change the “return to shop” button text? [closed]

how to change the “return to shop” button text? i can not find way to change it on woocommerce. Thanks
0
votes
0answers
42 views

Accessing wpLink popup from tinymce plugin

I have custom tinymce plugin which should have button to select link. I want to use default WP Insert/Edit link popup, but don't know how. I also use button to select media from library like this: ...
0
votes
0answers
473 views

Click Counter if people click Button

I found the code from https://wordpress.stackexchange.com/a/258902/68053 and i edit like this for my functions: add_action( 'wp_ajax_link_check_click_counter', 'link_check_click_counter'); add_action(...
0
votes
1answer
56 views

how to send two forms with one click (script ninjaforms id)

i need the user to send 2 forms with one button-click, so i'm basically trying to merge two buttons into a third one, in order to pass data along, but don't know what i'm doing wrong here. i've been ...
1
vote
0answers
294 views

Add buttons to the new TinyMCE WP Editor. Javascript API

I've added more buttons to a TinyMCE instance using the new Javascript API available since WordPress version 4.8. As you can see in the following code block, I could add more buttons but I'm not ...
0
votes
1answer
36 views

Show only content in page after action click in Wordpress admin

I have an custom post with actions and I like to show only the content with I clicked on this action button. This is the action registered when I clicked on an custom button action: add_action('...
-1
votes
1answer
435 views

Back button to previous page and breadcrumbs

I must add back button only on one page and only when I get to this page from one specific. If I on B Page and go to A Page -> display button od A Page but if I on C Page and go to A Page - button ...
0
votes
2answers
435 views

Tried everything but Facebook share button won't load the post thumbnail

Before you say "search google" or "look on this site for similar answers", let me say, I already googled for my problem and read questions like mine. I already tried everything that I found about to ...
0
votes
1answer
48 views

WordPress comment submit button substitutes/options

$args = array( 'id_form' => 'commentform', 'class_form' => 'comment-form theme-comment-action', 'id_submit' => 'submit'...
0
votes
1answer
100 views

How to dynamically add the the input text field in widget?

I have made a widget with input fields. I want to make an add more button to dynamically add the input field the first input field is the default. How can I make it is it possible to do that? Here is ...
0
votes
1answer
63 views

Creating a simple button inside of a widget

So I'm wanting to add a couple of buttons in a footer text widget. It should be a really easy task by just creating a class inside of a link, and then styling it with CSS, like this: <a href="/...