Mobile Versions of a WordPress Theme

Just found out that mobile versions of a WordPress theme aren’t automatically turned on. And they have to be turned on from Dashboard > Appearance > Mobile.

Does this apply to themes like Divi too? I’ll have to check and update this post.

Okay, so I tested the 2015 theme and it seems like much of the functionality remains unaffected whether the mobile theme option is selected or not. So, I don’t know exactly what that option does or doesn’t do.



Displaying Quotation Marks In the Text Inside Shortcodes

Here’s a shortcode for a spoiler in the Shortcode Ultimate plugin:

[su_spoiler title=”<b>My “title”</b>” style=”fancy” icon=”plus-circle”]

The above shortcode won’t work because it takes the quotation marks around the world title as the ending quotation mark for the title attribute.

This can be fixed by using the <q></q> HTML element. The following shortcode will work properly:

[su_spoiler title=”<b>My <q>title</q></b>” style=”fancy” icon=”plus-circle”]

Updating the “Shortcodes Ultimate” Plugin After Customization

The theme I was running on the site was LMS Press. Once I updated the Shortcodes Ultimate plugin the customization disappear because it seems like the update wipes out any extra css file added to the plugin. In my case the extra code was added to the box-shortcodes.css file.

This issue was fixed by pasting the custom CSS code inside LMS Press Options > General > Custom CSS.

Here is the custom CSS code that was added: > .su-spoiler-content{
padding: 0px;
     -webkit-transition: padding-top 0;
     -moz-transition: padding-top 0;
     -o-transition: padding-top 0;
transition: padding-top 0;
-ie-transition: padding-top 0;
height: 0;
margin: 0;
overflow: hidden;
opacity: 0;
border: none;
} > .su-spoiler-title {
cursor: default;
border: none;

A question that arises from this is if the issue could also be fixed by applying the custom code inside the style.css file of the child theme. I should test that for this and other similar changes that need to be made on the site.

Solved – Multiple Instances of the Same WordPress Plugin

The Issue seems to arise because multiple files inside the plugin folder have the “installation data” at the top of each file. The total number of duplicate instances of the plugin will be equal to the total number of files that have the installation data on top of them.

The solution is to remove that installation data from all the pages that are not the main file in the plugin. The solution is described in the last post of this page:

IP Addresses of Spam Registrations

I’ve tried to stop them using the Stop Spammers plugin but many of them seem to get through. It’s basically coming from the same location in India.

Here’s the IP address of some of them:
12th September 2015:<