FAQ Database Discussion Community


Login/Register and Currency Widget in Header Wordpress

php,css,wordpress,header,widget
Woocommerce, Wootique Theme, Currency Widget. Right what I want to do it to have the currency converter plugin and my Login/Register link in the in the top right corner of the header to the right of my logo like so: Login/Register |CURRENCY BOX| (On the same row) The currency converter...

Custom WordPress widget is wrapping all other widgets below it

php,wordpress,widget
I am trying to write a custom widget to display our teamspeak server info. This is what I have so far: <?php /* Plugin Name: Site Plugin for RealmReborn.co Description: Site specific code changes for RealmReborn.co */ /* Start Adding Functions Below this Line */ // Creating the widget class...

how to change bg color of button after pressing and get back to previous color

python,button,tkinter,widget
In the below program i want to change the background color of the button to green after pressing it and changed color should remain for 2seconds and later change back to original color. Is there a way to do? import tkinter as tk class MyGui(tk.Tk): def __init__(self): super(MyGui, self).__init__() self.create_widgets()...

Appy Wordpress Widget to Widget area

php,html,wordpress,widget,area
I'm working the first time with WordPress, now I'm trying to add a custom Widget to an HTML box. The HTML: The blank News box I started to read a bit about widgets and the tutorials told me to create a new Widget area inside my functions.php document, which i...

WordPress widgets: how to change the automatically created “style” attribute of the surrounding HTML

wordpress,widget,wordpress-theming
I have copied the twentythirteen Wordpress theme to dive into Wordpress development. I want to change the look of my footer, so I used the Firefox inspector to play around with it. The widgets in my footer sidebar have the following HTML around them: <aside style="position: absolute; left: 0px; top:...

Tkinter: widgets not highlighting on event

python,tkinter,widget
I'm running Python 2.7.9 on a Mac. I've been unable to figure out why it is when I run my programs that only the Entry Widgets highlight each time I hit the Tab key to move to the next widget. Following is some test code. When I run the script...

Adding new social network to socmed widget through PHP — Wrong icon showing

php,wordpress,widget,social-media,wordpress-widget
Let me just apologize up front for my ignorance; I've never really seen PHP up-close and am really new to the Wordpress world... I added a Pinterest option to a social media widget using this tutorial. The addition worked, giving me a new Pinterest option in the widget. The widget...

Kivy - Create new widget and set its position and size

python,python-3.x,widget,kivy,custom-widgets
got a little problem. So Iam trying to create my own widget, and i have succeed, only except for setting its size and position right(to be same as its parrent). class Story(App): def build(self): return MyWidgets().init() The app has GridLayout as a holder, into which i want to pass the...

Get location of a widget to allow drawing a line from widget a to b

java,widget,swt
Hi I am working on adding a link between 2 classes on a class diagram to show their relation, the class diagram view allows for adding as many classes as the user wants. This is being done in SWT and the classes (which are a square button) are added dynamically...

Iframe not loading fully within horizontal scrolling Div

html,css,iframe,widget,horizontal-scrolling
I am trying to put a iframe within a horizontal scrolling div so that users can scroll across and see the Instagram posts. The issue that I am having with this is when the page loads it cuts off what ever is larger than the div. How do I load...

How to access id/widget of different class from a kivy file (.kv)?

python,events,button,widget,kivy
What I want to know? If button with id: button_b (Get_Boys class) is released, then Label with id: label_g (Get_Girls class) must change. If Button with id: button_b (Get_Boys class) is pressed, then Label with id: root_lbl (Get_People class) must change. If Button with id: root_btn (Get_People class) is released,...

C# Winforms event for both scrollbar buttons?

c#,winforms,events,widget,scrollbar
Is there an event for each of the two buttons in the vertical scrollbar widget? I'm using Winforms in C#....

How do I spilt the footer into different widths?

css,wordpress,widget
Hi there i'm using Wordpress and the Wootique theme, the theme supports a variety of footer widget layouts just 1 or split into 2, 3 or 4 columns but I want to change it so if its set to 3 columns that it will be the first footer widget is...

Pass variable to Ipython Widget

python,input,widget,ipython
I have a simple widget that modifies a plot, here is the definition: #Plot function def plf(x,lm,ls): plt.plot(x[lm:ls],np.sin(x)[lm:ls]) this function takes a list x an plot sin(x), lm and ls controls the number of data that is ploted, the problem is when i try to plot a determinated list of...

Launch an app on iOS using taps

ios,widget
I would like to know if it is possible to launch an app on iOS that is currently in the back group using three taps for example ? Think of it as a short cut on a desktop app. Thanks

wxpython How to change the values of widgets in other panel

widget,wxpython,panel
My frame was split in three panels, In PanelTwo, There is a TextCtrl, In PanelThree , There is a TextCtrl too, When I input something in the TextCtrl of PanelTwo, I need change the value of the TextCtrl in PanelThree, How to do it? # -*- coding: utf-8 -*- import...

Widgets to switch between screens

android,widget
I would like to have in my activity the widget like this in the top of that screen. I do not think about clock, but about that 5 balls, and I want to use it the same way - when I change screen then white ball is changing too. I...

“Waiting to attach” issue in iOS 8 with Today Extensions

ios,widget,today-extension
I've got a serious issue and can't figure out where is the problem ! First this question has already been answered in two other threads : iOS 8 beta 5 Today view extension (widget) stuck at Waiting to Attach BUT, my problem is different : I've got 10 widgets, and...

Trying to align two columns in a specific way using HTML within a Wordpress Widget

html,css,wordpress,widget
.::Edit::. Fixed Broken Images. -- I've been trying to align this for a few days now, and I simply don't have the know how to accomplish it. I photoshopped what I am trying to get this table to look like, but when I try to create a table, I either...

Using TimerTask and Timer with Widget AppWidgetProvider

android,timer,widget,timertask,appwidgetprovider
I'm creating a clock widget using Android. I've tested the clock and the logic seems fine, but I need to get it to update every minute. I set the updatePeriodMillis to 60000 in my XML but Android limits this to 30 minutes, so it only updates every half hour. I...

How to Create Dojo Widget using C3

javascript,dojo,widget,c3
I couldn't find any example describing the creation of Dojo Widget using C3 library. Before trying to create a widget, I tried to create a module, and it worked. I am new with Dojo ... so here is what I tried to create a Widget with c3 : require([ "dojo/_base/declare",...

Cannot update Android Widget using AlarmManager and Calendar

android,widget
I want to update my widget but it simply doesn't work! I made it so that the update happens at particular time - a few minutes after I run the app, but widget doesn't get updated. I know this because I am setting the label with the System.currentTimeMillis. When app...

Wordpress do_shortcode work in one widget but not another

php,wordpress,widget,shortcode
I have a couple of shortcodes that I wan't to be able to use in my widgets. I've added add_filter('widget_text', 'do_shortcode'); to functions.php (theme) and it works well when I use the default WP "Text" widget. But when I try the shortcodes in my own widgets (I've developed them myself)...

TKinter: Scrollable Canvas, Expandable Widgets, and Pack

python,tkinter,widget,scrollable
I am creating a table using Labels laid out as a grid within a Frame. I'd like to embed this Frame in a scrollable canvas, and I'd like the Labels to expand to fill the horizontal space while maintaining vertical scrolling capability. To see what I am trying to do,...

Use form field with select2 widget in smarty yii

widget,smarty,yii2
I would like to use this example from Kartik with Smarty. use kartik\widgets\Select2 // Usage with ActiveForm and model echo $form->field($model, 'state_1')->widget(Select2::classname(), [ 'data' => array_merge(["" => ""], $data), 'options' => ['placeholder' => 'Select a state ...'], 'pluginOptions' => [ 'allowClear' => true ], ]); In Smarty only the field...

Text widget to fill half of screen

python,tkinter,widget
I have a python tkinter program and i have two text widgets that need to be side by side. How can i get the two widgets to take up exactly half of the window which is 400 x 400 px ? My Code is here import tkinter class MyApp: def...

Use different library instead of jQuery Mobile for