Active Plugins for current blog in WP Multisite Network? [duplicate]
Looks like get_option(‘active_plugins) does the trick. Also, this question has already been answered here, sorry for the duplicate: How to Check If A Plugin Is Enabled Through API?
Looks like get_option(‘active_plugins) does the trick. Also, this question has already been answered here, sorry for the duplicate: How to Check If A Plugin Is Enabled Through API?
First thought is – why not make Company be required? If that’s not acceptable, there should be a way. I’ve not used this API, but have used other Gravity Forms hooks. Assuming you can hook in before it talks to the API, you should be able to check for the absence of one field, and … Read more
This is nothing to do with plugins. Everything on your site is using localhost. This will only work on your own machine – it will not work on a server, over the web. You need to (at least) change the paths on your site.
You shouldn’t edit that file. You should over-ride it. Create a folder called ‘buddypress’ in the root of your theme folder. Place a copy of post-form.php in that folder – using the same dir structure as bp-templates/bp-legacy/buddypress/ Then you can update buddypress without losing your changes.
Never used this plugin. WordPress has a function called make_clickable() which might help you. Example: $string = “This is a long text that contains some links like http://www.wordpress.org and http://www.wordpress.com .”; echo make_clickable($string); Output: This is a long text that contains some links like <a href=”http://www.wordpress.org” rel=”nofollow”>http://www.wordpress.org</a> and <a href=”http://www.wordpress.com” rel=”nofollow”>http://www.wordpress.com</a> .
Your error message is discused at this site: http://old.support.advancedcustomfields.com/discussion/5953/declaration-of-acf_taxonomy_field_walkerstart_el/p1 in short they fixed a bug in the addon: wp-content/plugins/advanced-custom-fields/core/fields/taxonomy.php row/line 419: function start_el( &$output, $term, $depth, $args = array(), $current_object_id = 0) wp-content/plugins/advanced-custom-fields/core/fields/taxonomy.php row/line 442: function end_el( &$output, $term, $depth = 0, $args = array() )
I have this exact thing working on a current project. Here’s the code: <div class=”photo-feature” style=”background: url(<?php the_field(‘the-image’, $page->ID) ;?>) no-repeat center center; “></div> Keep in mind a couple of things: You may need to use $post->ID or $page->ID if you’re using a custom query. Make sure you’re not overriding your background CSS anywhere else … Read more
You should not modify Themes or Plugins that you don’t control. Instead, use one of two options: Patch the Theme/Plugin, and submit the patch to the developer Fork the Theme/Plugin It sounds like you’ve opted for option #2. In that case, I would recommend changing both of the following: Update the entire header phpDoc refs … Read more
I think you want a custom page template. Create a custom page template. In that page template paste your code. Create a “Page” from wp_admin->Pages and select your template file as the “Template” In your page template, you would have something like this: /* Template Name: My Custom HTML Page */ get_header(); get_footer(); Leave out … Read more
Some of my php is rendered only when logged as admin