Move a single Plugin [closed]

There is no concept of “containing” the settings of a single plugin in WP. Plugins use core APIs (such as Options) freely to store data. So on WordPress level to do this the whole plugin’s code will need to be examined to have a complete catalog of things which need to be moved. Plugins themselves … Read more

ACF: Not displaying ACF data from another post

There was a flexible content container with the content inside that required an extra loop to reach the content. This helped (https://support.advancedcustomfields.com/forums/topic/get-another-pages-flexible-content/) <ul class=”rslides_m16 rslides”> <?php if( have_rows(‘page_modules’, $postID) ): while ( have_rows(‘page_modules’, $postID) ) : the_row(); if(get_row_layout() == “2-carousel-featured”): if( have_rows(‘items’) ): while ( have_rows(‘items’) ) : the_row();?> <li> <img src=”https://wordpress.stackexchange.com/questions/231217/<?php echo get_sub_field(“image’);?>”> </li> … Read more

Can’t activate plugin [closed]

Open this file C:\xampp\htdocs\web\wp-content\themes\Total\functions.php go to on line 283 and check how you have added add_action function. It must be like this. add_action(‘tag’,’function_callback’ ); add_action is a function which allows you to attach a function to an action hook and it must not be string eg. ‘add_action’ Please read document about add_action http://codex.wordpress.org/Function_Reference/add_action

How can i include a plugin in my theme folder?

It isn’t good idea to include some plugins directly in your theme, because you loose oportunity to update plugin etc. If you do so manually and update whole theme you can try to put folder with plugin eg. my-plugin in your themes root directory and in functions.php just include main my-plugin.php (folder name and main … Read more

Get URL for featured image for posts? [closed]

The function to use would be: $url = get_the_post_thumbnail_url(); However, that’s not the most helpful for you right now, so we have a meta field with placeholders that you need to swap out for URLs before outputting. breaking that down we get these smaller steps: // grab the field // grab the URL // swap … Read more

BuddyPress group filter

BuddyPress allows you to add custom filters for members, groups, blogs, and activities. There’s a thorough documentation on how to add custom filters to loops and I’d recommend you to check it out. There’s a lot of example code that should help you get started.