All Questions
9 questions
2
votes
1
answer
6k
views
Add CSS animation as Preloader to WordPress
I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation, but I couldn't find any related help or plugin that would allow me to add a Preloader ...
2
votes
1
answer
4k
views
How to display a value from a radio button in the options menu in wordpress
I'm a little stumped on this one. I'm not very experienced when it comes to PHP, but I have figured out how to display a value inputted from a text box. I'm now trying to do the same with a radio ...
1
vote
1
answer
100
views
Plugin CSS not enqueing
My apologies if there is an answer to this already making this a duplicate question, I have spend the last 3 days trying to get the CSS styling to be applied in a way that WordPress would allow, it is ...
1
vote
0
answers
18
views
How to create a "Most Popular" & "Latest" TAB in Wordpress
On my gaming website, I upload videos to the website, which is on the homepage of the website.
The problem is, that I need to add a "Most Popular" tab & "Latest Videos" tab, ...
0
votes
2
answers
755
views
wordpress admin plugin menu custom css
I have a plugin that has a top level menu and subsequent submenus. Each one of these pages are going to need their own css and javascript. My code at the moment is:
//main menu
add_menu_page( "My ...
0
votes
1
answer
560
views
How to Change CSS Colors from Custom Plugin Settings Page
I have a custom WordPress plugin with a variety of settings that I use across multiple websites. I also use a few of the same 3rd party plugins across all of those pages. I would like to be able to ...
0
votes
0
answers
35
views
Drop down question
I am new to wordpress. Please pardon this question as it may seem mundane. How do I make a drop down menu for Information to the end-user in wordpress?
similar to this...
Thanks in advance...
0
votes
1
answer
136
views
register dependency css and js inside a plugin class
I have this code:
public function __construct()
{
add_action('wp_enqueue_script' , array( $this, 'initBootstrap' ));
add_action('wp_enqueue_style' , array( $this, 'initBootstrap' ));
...
0
votes
1
answer
74
views
widget: input the px value from user and use it as inline style in widget function
I am trying to dynamically add margin-bottom property to my widget. For example, I am inputting the value "50px" from my widget and want to use this value to adjust margin-bottom property for the ...