Browsing Tag


replace a function added in external class

I’m using wp 3.9, bp 2.0.1 and the bp-groupblog plugin 1.8.5. In the ‘create_screen’-function in BP_Groupblog_Extension-class (extending the BP_Group_Extension-class) the plugin adds an action: function

display arrays based on ID or class name

I’ve created an admin page for my wordpress theme to allow multiple images to be uploaded to my slideshow. It works fine if there is

Override a plugin class

I’m trying to override a plugin class with my own. The plugin class is function yith_woocompare_constructor() { // stuff here } add_action( 'plugins_loaded', 'yith_woocompare_constructor' );

Select div with random class

I’am using iosslider on my single page. I need to collect all img src from ‘.wp-pic’ and put them to slider background url. So what

Situations to use DIV over CLASS

Ok, so I posted this up in another thread but was instructed to post it up as a separate questions I am fairly new to

Insert a div class inside wordpress menu

<ul id="menu"> <li><a href="#">About Assetline</a> <li><a href="#">Products & Services</a> <div id="mega"> <ul> <li><a href="#">Commercial Credit</a></li> </ul> <ul> <li><a href="#">Portfolio Management</a></li> </ul> </div><!--mega--> </li> <li><a href="#">News

How to Include WP_Widget class in main plugin file

If I have a class xxxx_widget extends WP_Widget inside a php file, how can I include that file from the main file inside my plugin.

How to fix issues with active class for building custom Bootstrap carousal for WordPress

I am trying to get a bootstrap carousal with thumbnail slider work with wordpress and look like in this bootstrap example The carousal and

Add Class according to the order of appearance

My loop returns five posts and the HTML should look like this.. <ul> <li class="topfive"> ... </li> <li class="topfive"> ... </li> <li class="topfive"> ... </li>

How to add a custom body class for pages that are not the front page?

I am trying to add a custom body class .custom-body in a WordPress site to all pages that are NOT the front page: To my

WordPress - contact form 7: add class to form when submit, and delete when form was checked/send

I want to add a class to the whole contact form on submit. i want to hide the submit button while the form is checking

Add a class to WordPress side menu only child

What I am struggling with is my side menu in IE8. The a:only-child:before works in all the browsers I have tested (Firefox and Chrome and

Extending the walker class to add a top level list item to the nav menu in a different order

I’ve seen functions to append to the beginning or the end of the menu, but how do I add this list item right after the

Add Class to a div using a filter?

is it possible to add a dynamic class to a div using a filter in the functions.php? I know it’s possible for the body-tag -

Class ‘FT_WP_Table’ not found

I’m building a WP plugin and I get this error: Fatal error: Class ‘FT_WP_Table’ not found in /var/www/html/wp-content/plugins/frequent-traveler/frequent-traveler.php on line 90 This is what I

do_action inside class issue with add_meta_boxes hook

Ok, this is a little specific. I might be missing something but since it killed me enough time , even though I found a way

Back to Top 103616 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising