Vegas Website Designs
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Table of Contents] Critical error after updateThank you for the quick update.
Forum: Plugins
In reply to: [Easy Table of Contents] Removing duplicate numbers from headingsThere was another support topic posted on this plugin from about 2 years ago (https://www.ads-software.com/support/topic/getting-rid-of-numbers-in-heading/) that was requesting a method to remove numbers from the headlines if they existed. For instance, if the headline was 1. Open The Door or 2. Turn On The Car then the table of contents would display 1. 1. Open The Door or 2. 2. Turn On The Car.
The accepted solution was to turn off the plugin setting to automatically number each heading but this effects all headlines, not just those with the number already in them. I wrote a quick function to address this issue and it removes the number, dot and space proceeding the headline if it exists while keeping on the plugin’s automatic numbering system.
The function could likely be made better with using a REGEX search but I did not have time to test this out and found my solution to work well for my own needs. I thought I would share the function here for anyone else to use or improve upon.
// Remove numbers from headline function custom_filter_headline_numbers($title) { if( !is_admin() ) { // Remove tags and any left blank spaces $clean_title = ltrim(strip_tags($title)); // Check for digit as first character in headline if( is_numeric($clean_title[0]) ) { // Find the number before the first dot and space $number = explode(". ", $clean_title, 2)[0]; if( !empty($number) && is_numeric($number) ) { $title = str_replace($number.'. ', '', $title); } } } return $title; } add_filter( 'ez_toc_title', 'custom_filter_headline_numbers', 10 );
Forum: Plugins
In reply to: [Yoast SEO] Yoast SEO Changes Page Title to FalseI have seen this happen on multiple sites for the past 5 years. It just happened again today, but this time it was the Facebook share title that was changed to the word “false”, all lowercase. For me it tends to occur on individual pages that I am updating often and that have a lot of other custom fields on them from ACF. It is definitely a real issue and not resolved.
I ran into this same issue today with a new site, WordPress version 4.8.1 and plugin version 2.2.1. The issue was not with fontawesome, but the Gotham font. The strange thing was that half of my fonts were working correctly while the other half were not. I was using relative paths to the fonts file in the css and changing that to the full server path to the fonts folder fixed the issue. I have other sites running the same versions of WP and the plugin that have never had this font issue.
@font-face { font-family: 'GothamLight'; src: url('../fonts/Gotham-Light.eot'); src: url('../fonts/Gotham-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Gotham-Light.woff2') format('woff2'), url('../fonts/Gotham-Light.woff') format('woff'), url('../fonts/Gotham-Light.svg#Gotham-Light') format('svg'); font-weight: normal; font-style: normal; font-stretch: normal; } @font-face { font-family: 'GothamBold'; src: url('../fonts/GothamBold.eot'); src: url('../fonts/GothamBold.eot?#iefix') format('embedded-opentype'), url('../fonts/GothamBold.woff2') format('woff2'), url('../fonts/GothamBold.woff') format('woff'), url('../fonts/GothamBold.svg#Gotham Bold') format('svg'); font-weight: normal; font-style: normal; font-stretch: normal; } @font-face { font-family: 'SourceSansPro-Light'; src: url('../fonts/SourceSansPro-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/SourceSansPro-Light.woff') format('woff'), url('../fonts/SourceSansPro-Light.ttf') format('truetype'), url('../fonts/SourceSansPro-Light.svg#SourceSansPro-Light') format('svg'); font-weight: normal; font-style: normal; font-stretch: normal; } @font-face { font-family: 'SourceSansPro-Bold'; src: url('../fonts/SourceSansPro-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/SourceSansPro-Bold.woff') format('woff'), url('../fonts/SourceSansPro-Bold.ttf') format('truetype'), url('../fonts/SourceSansPro-Bold.svg#SourceSansPro-Bold') format('svg'); font-weight: normal; font-style: normal; font-stretch: normal; }
The Gotham fonts would not load but the Source Sans Pro fonts did.
Forum: Plugins
In reply to: [Fast Velocity Minify] FVM Optimized Link Does’n Change to CDN HostnameI have a quick question on the CDN form field that is related to Lukmanul’s question. The field label is CDN URL but the description under the form field says CDN URL domain name. Should I include the https:// as part of the URL in this field or only the domain name itself?
Example:
https://sffs51fgp-flywheel.netdna-ssl.comOR
sffs51fgp-flywheel.netdna-ssl.com
Thank You!
Forum: Plugins
In reply to: [Fast Velocity Minify] HTML Minification no longer works after latest updateThanks, it is indeed working now. This is an awesome plugin thank you.
Forum: Plugins
In reply to: [Gravity Forms Constant Contact] No Lists Present in Gravity FormsAn addition to my previous post. Here is a screenshot of what I am seeing: https://gyazo.com/d4dac6aa4ed91e163f29520e7626c5e9
On the “Constant Contact Settings” screen I am getting two green arrows to signify that my login is working correctly. I did purposely mistype the password as a test and that correctly removes the green arrows on save.
I am using Gravity Forms version Version 2.1.3, Gravity Forms Constant Contact version 3.0 and WordPress version 4.7.2
Forum: Plugins
In reply to: [Gravity Forms Constant Contact] No Lists Present in Gravity FormsI am having the same issue with the latest update. I’ve used this plugin in the past and it worked well but now no lists are given in the select a mailing list drop down.
You are correct about the anchor link causing this behavior. Adding the following to your site’s js file will fix it.
// Terms and conditions popup
$(document).on(‘click’, ‘a.simple_popup_show’, function(e) {
e.preventDefault();
});Forum: Plugins
In reply to: shortcodes doesnt load with ajax requestDid you ever find a good solution for this issue?