Browsing Category

Wordpress filters

Inserts ads or php code after image and before first paragraph/h2 of the post

I think this code could works better for me with some changes. In this example above, the adsense code will be displayed after the first

Modify <?php the_content(); ?>for insert code after image and before first paragraph/h2 of the post [on hold]

I think this code could works better for me with some changes. In this example above, the adsense code will be displayed after the first

WordPress 3.9 – Trouble Editing new TinyMCE

With WordPress 3.9 coming soon it’s bringing along TinyMCE 4.0. I’m running my plugins and functions through some testing and found that one of my

Custom URL in WordPress with add_rewrite_rules and add_rewrite_endpoints

I have the following URL for a filter functionality that i try to build in wordpress: example.com/offers-type-all-inclusive-from-germany-transportation-airplane.html How can I make the arguments optional so

Strip $before & $after strings from a page title

So I have plugin that pulls remote data (real estate listings) into a wordpress site. I have been asked by a client to allow the

How to filter the form title and/or heading in GravityForms

I know that you can filter individual fields, but does GravityForms have a filter for the form container? I am trying to customize the HTML

Activate short codes for all post queries?

I need to use shortcodes on widgets and various plugins. For widgets I simply used: add_filter('widget_title', 'do_shortcode'); add_filter('widget_text', 'do_shortcode'); However I cannot figure out how

Multiple taxonomy drill down filter on a collection of posts

I would like to add a drill down filter to a product catalog site with one main taxonomy, and three taxonomies that serve as additional

wp_schedule_event won’t accept args

Im trying to schedule event on hourly basis but it doesn’t work. Why i can’t understand. Here is a function that i use to schedule

Loop the posts between two dates selected using jquery datepicker

I went through this link where we can restrict the loop to display the posts only between two dates and it works fine. But if

Hook to filter "All Posts" list

I need to filter the Posts and Pages tables in the Admin panel by certain shortcodes. In my plugin, I have added a column for

Using Apply Filters in the-bootstrap parent theme

In the-bootstrap parent theme there is the following function: function the_bootstrap_custom_background_setup() { $args = apply_filters( 'the_bootstrap_custom_background_args', array( 'default-color' => 'efefef', ) ); add_theme_support( 'custom-background', $args

Filter out some plugin action in wp head / wp_footer

I am using a plugin called “syntaxhighlighter”. I know not to ask for plugin specific questions but rather how to filter out action added to

Save something to global var in add_filter

I am here again with a strange question. First, I’m using ACF plugin for adding cistom fields. My code looks somethink like that: global $testMe;

Add Element as a Filter to the_content

Can I and How would I add a filter in the function.php that would add a HTML element around the content when the_content is used?

post_row_actions filter is not working while update post using quick edit

I have created two links using post_row_actions, it was displaying fine when page loads. But the links will get disappear after update post using quick-edit.

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