Categories
Mastering Development System & Network

Google Cloud Platform – cannot apply DNS forwarding policy

I am trying to configure an outbound DNS Forwarding Policy within a VPC as described in the GCP documentation. However, when applying a newly added DNS Fowarding Policy by hitting the save button on the VPC profile edit page, I get an alert message with a very generic "Unknown Error" message. Here are some screenshots […]

Categories
Mastering Development System & Network

How do I get IIS UrlRewrite to handle CSS-delivered woff files appropriately?

Context: Azure; Windows Server 2012; IIS 8 First up, here’s the (redacted) web.config for reference <rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="false"> <match url="(.*)" /> <action type="Rewrite" url="https://www.khatam.com/{R:1}" logRewrittenUrl="true" /> <serverVariables> <set name="HTTP_X_ORIGINAL_ACCEPT_ENCODING" value="{HTTP_ACCEPT_ENCODING}" /> <set name="HTTP_ACCEPT_ENCODING" value="" /> </serverVariables> </rule> <rule name="Capture Http Origin Header" enabled="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="true"> <add input="{HTTP_ORIGIN}" pattern=".+" /> […]

Categories
Mastering Development System & Network

Does unlocking an account that isn’t currently locked from within ADUC reset the number of previously-entered incorrect passwords?

Assume the following within an environment that has an account lockout threshold set to 3 – meaning that if 3 incorrect passwords are entered, a user account becomes locked: User A types 2 incorrect passwords at the Windows logon screen – entering another incorrect password would cause their account to be locked at this point […]

Categories
CMS Mastering Development Wordpress

Navwalker not applying the custom css classes on menus

I’m using the Bulma Framework and wanting to implement a mega menu onto my WordPress site, but I can’t seem to figure out how to adjust my Bulma navwalker so that it can accept custom css classes that I have defined inside my wordpress menus. Here is the navwalker: <?php /** * @package bulmawp * […]

Categories
CMS Mastering Development Wordpress

How do I trigger the sidebar reveal for my sidebar plugin in the Gutenberg editor?

So I have developed a sidebar for the Gutenberg editor in WordPress. The purpose of this sidebar is to provide feedback, grades, scores, etc., for a set of custom input boxes that appear below the post editor. As such, the user may want to have it open and be using it to view the real-time […]

Categories
CMS Mastering Development Wordpress

Make `previous_post_link()` Function Show The Post After Next i.e. Jump A Post

Is it possible when using the previous_post_link() function to make it get the previous post after next i.e. make it skip a post. So if you’re on post 5 in numerical order it skips to post 3? The reason being I have custom post type single-cpt.php file that pulls in two posts, so when using […]

Categories
CMS Mastering Development Wordpress

Can’t display multiple terms with get_the_terms

I am trying to display the terms (from a custom taxonomy) of a single post, but I can’t display more than one term. When I try to display all the terms using a foreach loop, it doesn’t display anything. Here is one of my attempts : <?php $terms = get_the_terms($post->ID, ‘auteur’); if ($terms && !is_wp_error($terms)) […]

Categories
CMS Mastering Development Wordpress

Can I have Woocommerce Shipping Restrictions by State?

I have a client’s website which I have the set the default shipping restriction to a particular country. I want to be able to also restrict shipping by states within the country. For example, if shipping is limited to United States, I want to enable shipping ONLY if the shipping address matches Washington DC and […]

Categories
CMS Mastering Development Wordpress

Removing a widget via theme editor

I recently updated our company’s website and now we are seeing our newsletter sign-up widget appearing on landing pages where it previously had not. Our landing page template is set up to remove this widget. I have changed none of this code. What am I missing?

Categories
CMS Mastering Development Wordpress

How to display the categories on page using shortcode?

I am trying to display the categories name on my page but it’s not displaying. I am using the below code and I added the shortcode gridCategories on my page. I am getting only array function createGridCategories(){ $categories = get_categories( array( ‘taxonomy’ => ‘category’, ‘orderby’ => ‘name’, ‘parent’ => 0, ‘hide_empty’ => 0, // change […]