Categories
CMS Mastering Development Wordpress

Website Login link redirect to https://check.resolutiondestin.com/wt.js/wp-login.php

When I login the website – mothernature.com/wp-admin redirecting to check.resolutiondestin.com/wt.js/wp-login.php?redirect_to=https%3A%2F%2Fmothernature.com%2Fwp-admin%2F&reauth=1 Can you please check where is the problem and fix can I fix it? Thanks!

Categories
CMS Drupal Mastering Development

How to customize node view

I have this node view for my custom node. What I wanted to do is edit the files into button and the pictures into carousel. How can I manage that? Thank you

Categories
CMS Magento Mastering Development

How i can add a div inside `product-image-container` in magento to catalog pages

I want to add a New <div> in inside class=”product-image-container” in Magento 2 I have searched and found that this class is rendered like this $productImage = $block->getImage($_product, $imageDisplayArea); <?= $productImage->toHtml() ?> How I can do this task please let me know thank you

Categories
CMS Mastering Development Wordpress

Plugin Architecture Question: How to avoid using transients

I am creating an in-house plugin that will offer a filtering mechanism using AJAX for any post type depending on the configuration, which I have stored in a JSON. When the plugin is loaded, I need to set the callback for the AJAX call, and I set that right away (I’m sticking to OOP): $gfb […]

Categories
CMS Joomla Mastering Development

K2 seems to be causing Googlebot issue

Recently I find out the CPU usage of my servers are extremely high. I have two different servers running Joomla websites, both of them are having this issue. By executing “top” command on each server I see the processes causing high CPU usage are php-cgi7.3 and mysqld on both servers. Then I noticed unusually large […]

Categories
CMS Mastering Development Wordpress

Potential Security Issue in Custom Taxonomy Search Functionality

I’m wishing to add some functionality to a client WordPress site that allows you to include taxonomy terms from custom post types in the WordPress search, and come across the following answer: Include custom taxonomy term in search This solution does work, but in the comments a user has mentioned that it’s “probably not a […]

Categories
CMS Mastering Development Wordpress

Redirect a list of URLs to another URL, using functions.php

What I wish to do I have a number of WordPress URLs I need to redirect, along with a 301 permanent redirect header being sent to browser. The URLs to redirect are: https://www.mydomain.com.au/search-result/?location=victoria https://www.mydomain.com.au/search-result/?location=new-south-wales https://www.mydomain.com.au/search-result/?location=queensland https://www.mydomain.com.au/search-result/?location=south-australia https://www.mydomain.com.au/search-result/?location=tasmania https://www.mydomain.com.au/search-result/?location=northern-territory Where to redirect to I want to redirect them to the home page: https://mydomain.com.au/ I am not […]

Categories
CMS Drupal Mastering Development

using Drupal Group (notOG) how do you get the list of permissions

I am trying to use the group method hasPermission(permission_label, user). I found an example that is the following: $group->hasPersmission(‘administer members’, $user) I would like to know what all the different permissions types are. In particular I want to be able to differentiate whether a user can edit or just view a type of content. How […]

Categories
CMS Mastering Development Wordpress

Overrite parent functions using child functions

So I’ve tried a few different ways to override a method inside the parent theme and I’m not having much luck at all. So here is the structure: themes/ – wp-starter — custom_header.php – wp-starter-child — custom_header.php I have a method inside the parent custom_header.php as shown below: function wp_bootstrap_starter_custom_header_setup() { add_theme_support( ‘custom-header’, apply_filters( ‘wp_bootstrap_starter_custom_header_args’, […]

Categories
CMS Drupal Mastering Development

Are there migration plugins for D8 sources?

I found 2 references here for migrating D8 to D8, but both are very outdated. Certainly there will be a need to do D7 -> D9 or D8 -> D9 migrations for many, but there are also current use cases. One is migrating from a multisite to individual sites. Mine is the site restructuring its […]