jrcollins
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] WordPress email addressThe plugin uses the email address associated with the user’s WordPress installation by default. After changing the email address the same email is used when creating new forms even after reinstalling the plugin.
Forum: Plugins
In reply to: [Related Posts for WordPress] Heading TextI see now it’s possible to do this using the
rp4wp_heading
filter.Forum: Plugins
In reply to: [WP Super Cache] Errors when testing cacheYes, that’s what I thought but I don’t seem to be able to find a solution. I was hoping you might have encountered this issue before.
Forum: Plugins
In reply to: [WP Super Cache] WP Cache Vs. WP Super CacheOk, thanks for the explanation.
Forum: Fixing WordPress
In reply to: Theme files not recognized when added to existing themeIs anyone working on a fix for this issue?
Forum: Fixing WordPress
In reply to: Theme files not recognized when added to existing themeI rolled back the update to 4.8.3 and everything is now back to normal.
Forum: Fixing WordPress
In reply to: Theme files not recognized when added to existing themeI’m having the same problem after uploading or deleting template files from my child theme. Just noticed this problem after updating to 4.9.
UPDATE: there’s another, easier, solution to this problem. At the top of the settings page for the plugin there’s a checkbox labelled, “custom formatting”. The description reads, “Enable this option if you face any problems with formatting of nested shortcodes.”
I found the following function works for me:
add_filter( 'the_content', 'tgm_io_shortcode_empty_paragraph_fix' ); /** * Filters the content to remove any extra paragraph or break tags * caused by shortcodes. * * @since 1.0.0 * * @param string $content String of HTML content. * @return string $content Amended string of HTML content. */ function tgm_io_shortcode_empty_paragraph_fix( $content ) { $array = array( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); return strtr( $content, $array ); }
Place it in your child theme’s
functions.php
file.The above code was posted at the following URL: https://thomasgriffin.io/remove-empty-paragraph-tags-shortcodes-wordpress/
Forum: Fixing WordPress
In reply to: Screen widthI see now I was looking at the HTML element in an iframe and not the actual root html element.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Image sizeThis question is now resolved. To achieve the desired result it wasn’t necessary to edit the template HTML. I just had to make a few adjustments to the CSS.
The following are the 3 relevant classes that need to be edited in order to change the size of the image:.aalb-pa-product-container
.aalb-pa-product-image
.aalb-pa-product-image-source
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Image sizeThis is the (unedited) image tag in my custom product ad template:
<img class="aalb-667-pa-product-image-source" src="{{MediumImageURL}}" srcset="{{LargeImageURL}}" alt="{{Title}}" />
And the following is the CSS applied to the image:
.aalb-667-pa-product-image-source { max-width: 150px; max-height: 150px; vertical-align: bottom; }
I tried changing
src="{{MediumImageURL}}
tosrc="{{LargeImageURL}}
and changing the CSS maximum width and height restrictions but it had no effect on the size of the image.- This reply was modified 7 years, 4 months ago by jrcollins.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Product link shortcodeThanks, it was just a simple mistake on my part.
Forum: Plugins
In reply to: [Child Theme Configurator] Stylesheet changesOk, thanks for your help.
Forum: Plugins
In reply to: [Child Theme Configurator] Stylesheet changesSo if I want to make changes to the stylesheet I should do so in the plugin settings? I did try to do that but was unable to edit the stylesheet.