Questions tagged [widget-text]

The tag has no usage guidance.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
381 views

Help With Custom Image and Text Widget

I recently got into making a custom WordPress theme and I've learned a lot along the way, but I've hit a roadblock with making a custom widget.This is the basic output HTML I'd like my widget to ...
1
vote
2answers
1k views

Text widget doesn't save the content

I am trying to save data in the default text widget. But when I click save, all the data are not saving and the field becomes empty. It happens when I edit in title field or text field. As I new to ...
1
vote
1answer
306 views

Filter widget outputs

I've been trying to find a good solution for my problem, but I can't seem to find anything on this topic at all. I've got a custom sidebar, created by using register_sidebar and I've used wordpress's ...
1
vote
0answers
26 views

Widget not displaying in WMPU sites

I'm modifying a theme for a WPMU install, and I've hit a wall. In order to display a text widget in a specified area, I'm using: $args = array( 'before_widget' => '<ul class="widget-...
0
votes
0answers
11 views

How do I create a form inside my back end of widget and display it in a certain area for the end of my widget

I have used the youtube video: (https://www.youtube.com/watch?v=OJdIUU1pjl4&t=1261s) to learn how to create my first custom widget. From here I have create a class with a front end display and a ...
0
votes
1answer
426 views

Need to add custom text field to Woocommerce under add to cart button

I'm a WP newbie so please stick with me here. I handle this online catalog of products and we need a custom input field to go beneath our invisible "Add To Cart" button. The text needs to be changed ...
0
votes
0answers
11 views

Change values on several pages

I'm building a catalog website that shows products, they are present on several pages and each time i want to change some details i have to enter to each page and change. Is there any solutions to ...
0
votes
0answers
19 views

Text widget is placing everything side by side. I want to post it above

As I add text widgets within a page in my home screen, They are going side by side. I have three text widgets as if there are three columns of text in my page. I like this, but i want to put a title ...
0
votes
0answers
30 views

Allowing HTML elements in title widgets spacing problem

I found some code online to allow me to put span tags in text widget title, so I could change the colour of some titles. It works, but the thing is that I need to make title half red half black color. ...
0
votes
0answers
24 views

Title not Emptying in a Widget

<?php echo $args['before_title'].$title.$args['after_title']; ?> The above code generates the widget title. Here is it's admin image → Here is additional code: <p> <...
0
votes
1answer
846 views

Widget without DIV wrapper

Whenever I add a text widget it adds a div around the content I add. E.g. <div class="textwidget"> <my content> </div> which messes up the formatting of some of my content. Is ...
0
votes
1answer
70 views

custom css in one page

I am trying to add custom css to wordpress page. Which is trying to load an image from the gallery for some reason though certain parts of the css are not working. Not sure if this has to do with the ...
0
votes
1answer
152 views

Default Wordpress widgets always appear

I added only 3 Widgets to my sidebar, however when I set their visibility to hidden in post pages they disappear but ALL the default widgets appear. I want to remove the default widgets from appearing ...
0
votes
0answers
2k views

Custom widget not appearing on front end

I have the following widget location defined in my theme's functions.php: register_sidebar( array( 'name' => __( 'Opening Hours', 'transparent' ), 'id' => 'sidebar-hours', '...
0
votes
0answers
602 views

How to use shortcodes on a widget sidebar when doing an ajax call?

I'm trying to use a shortcode from Promotion Slider Plugin inside a widget when doing an ajax call. As said here, I could achieve it doing: add_action( 'init', function() { ...
0
votes
0answers
33 views

Widget Disappearing in IE

Im debugging my site in IE, and my widget area is disappearing. http://pcdconsultancy.co.uk/ Any ideas? I have no transparency or anything on this.
0
votes
2answers
279 views

How to change the “Woocommerce Status” text in dashboard widget

I want to change the "Woocommerce Status" text in dashboard widget. See the image: I found this code in http://stackoverflow.com but it not working. function change_add_to_cart_message( $translated, ...
-1
votes
3answers
2k views

Display widget outside sidebar?

I want to display a widget outside the sidebar, but I can't get my code to work. The theme name is radius-primary-sidebar and my widget id is text-20 (according to the html in the admin page. See ...