WordPress Pill is not working

Contents (images) I used to upload using Advance Custom field or any content (text or anything) is not displaying under the categories. This is my code. page-gallery.php <?php get_header(); ?> <section class=”content pull-left width-wide clear-both”> <div class=”wrap”> <!– Inside Content –> <div class=”inside-content inside-page pull-left width-wide clear-both”> <!– page header –> <div class=”page-header pull-left width-wide”>…

1500+ duplicate queries via get_option function (query monitor)

I’m having a huge performance issue once I’m logged into WordPress. Query Monitor says it’s doing over 1500+ duplicated queries with the get_option function executing this query: SELECT option_name, option_value FROM wp_options WHERE autoload = ‘yes’ I’m running on cloudways, cleaned my wp_options table, and searched Google from top to bottom but can’t find the…

Ajax form submission does not work sometimes

I altered registration form by adding ajax submission. $form[‘actions’][‘submit’][‘#ajax’] = [ ‘callback’ => ‘my_register_form_ajax_callback’, ‘wrapper’ => $selector, ‘effect’ => ‘fade’, ]; It works perfectly but sometimes it ocasionally stops to work. So the form submission become an ordinary submission instead of ajax. Then I flush all caches and the ajax form submission starts to work…

suggestions on building Research portal for multiple studies and sites

We currently have a Drupal 7 portal collecting research data for multiple studies (set as individual content types), for multiple sub-projects (individual content type set as Inline-Entity-Form), across multiple clinical sites (set as taxonomy). Please refer the pic below for the current structure. We have used node access, field permissions and taxonomy access control contrib…