WebGremlin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Maxwell] “Continue reading” only when relevant?Alright, I found a solution myself. At first, I thought I’d compromise and get rid of the ‘read more’ completely, and always have full blog posts shown by increasing the excerpt length in the theme settings. Then I noticed that the theme gets rid of all line breaks and text markup (e.g. hyperlink colour) in the excerpts which show on blog page. So here’s what I did instead:
I copied this file to my child theme:
maxwell/template-parts/content.php
In there, I searched for
<?php the_excerpt(); ?>
and replaced it with:
<?php the_content(); ?>
Additionally, I deleted the line below the one I just replaced:
<?php maxwell_more_link(); ?>
And finally, I deleted the following from my style.css (which I had added previously to hide the original “continue reading” button).
.more-link { display: none; }
The latter was needed because WP’s Read More and Maxwell’s Read More button uses the same class identifier. Hence why I deleted the maxwell_more_link from content.php instead.
Now full blog posts show on the blog page, and I can use the “read-more-tag” functionality of WP’s WYSIWYG editor to show a “read more” button in case I want one.
- This reply was modified 7 years, 6 months ago by WebGremlin.
- This reply was modified 7 years, 6 months ago by WebGremlin.
- This reply was modified 7 years, 6 months ago by WebGremlin.
- This reply was modified 7 years, 6 months ago by WebGremlin.
- This reply was modified 7 years, 6 months ago by WebGremlin.
- This reply was modified 7 years, 6 months ago by WebGremlin.
Forum: Plugins
In reply to: [Multi-language Responsive Contact Form] Change sender email adressAdditionally, the email address given (wpteam@augustinfotechteam.com) returns a mail delivery failure. I’ve forwarded my mail to info@augustinfotechteam.com instead.
Forum: Plugins
In reply to: [Multi-language Responsive Contact Form] Change sender email adressThanks for the response. I’ve implemented your fix, but alas, it does not work. Further details:
Confirmation email to user is sent from: accountnamefromhost@host.com
Copy email to user is sent from: namegivenincontactform@host.com
Notification mail to admin is sent from: namegivenincontactform@host.comFor discretion, I will send you my localization to the email you’ve given, together with the link of the website which has the problem, so you can take a look at it directly.
Kind regards,
WebGremlin
Forum: Plugins
In reply to: [Widget Content Blocks] WPMLI, too, would like to know how to make these two work together. In the wysiwyg editor I can make multiple translations (just like pages or posts), but I can’t get the translations to show when I switch language on my website.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Compatibility with qTranslateHello,
Replacing the title function with
function title( $title, $sepinput = '-', $seplocation = '' ) { return $title; }
seems to work. As in: The preview snippet no longer shows both qTranslate languages in the title. Now it only shows the primary language.
Could someone explain to me how I can verify that the title is now displayed correctly for SEO? And does it always show the primary language now, or does it change language accordingly?
WP: 3.5.1
Wordpress SEO: 1.4.7
qTranslate: 2.5.34