Claus Pescha
Forum Replies Created
-
@asurus: interesting, but I can’t replicate this issue on my installation. It works correct also with custom svg icons and using icons has no impact to the anchors at all. (newest Plugin Versions: GB Pro, SimpleTOC).
I found that it only needs an adjustment in the following line of the plugin code:
if (isset($block[“blockName”]) && ($block[“blockName”] === “core/heading” || $block[“blockName”] === “generateblocks/headline”) && isset($block[“innerHTML”]) && isset($block[“innerContent”]) && isset($block[“innerContent”][0])) {
Change “generateblocks/headline” to “generateblocks/text” and the GenerateBlocks headlines will be recognised again.
Forum: Plugins
In reply to: [VS Event List] VSEL: Display featured image captionHi Guido,
Great, image caption is displayed exakt beyond the featured image. Works like a charm.
Forum: Plugins
In reply to: [VS Event List] VSEL: Display featured image captionHab Guido,
that is Great! Thank you for your work.
Forum: Plugins
In reply to: [VS Event List] VSEL alt-text for featured imageWhen uploading an image it gets a title in the media library.Yes, that’s right. In this case I deleted the title in the media library. But the title should be indicated in html as title=”xxx”.
For user experience and SEO the alt-text is much more important to have. It should be indicated in html as alt=”xxx”.
For me the workaround setting the alt-text in title-tag works for now.
Thank you and kind regards,
Claus
- This reply was modified 2 years, 11 months ago by Claus Pescha.
Forum: Plugins
In reply to: [VS Event List] VSEL alt-text for featured imageIndeed, I tested it. Setting the title tag returns the alt-text. Is this intended?
Forum: Plugins
In reply to: [VS Event List] VSEL alt-text for featured imageHi Guido,
yes, the shortcode is simply [vsel]. Do I have to set the image title tag for getting the alt-attribute?
Forum: Plugins
In reply to: [VS Event List] VSEL: Display featured image captionHi, works great. Thank you!
I added some html to get control over it:
$output .= '<div class="vsel-caption"> ' . get_the_post_thumbnail_caption( get_the_ID() ) . ' </div>';Claus
Forum: Plugins
In reply to: [VS Event List] VSEL: Display featured image captionHi Guido,
Thank you for your quick reply.
I understand. Is there a hook at the position of the featured image in vsel archive template to put in the feature image of the current event manually? The Theme (GeneratePress with GenerateBlocks) has the ability for that. Then I could display the caption easily. In this case I would only need the name of the hook.
If not I would appreciate to have the code for the plugin file. Maybe I can go further with this.
Thank you for your support.
Kind regards,
Claus
Forum: Plugins
In reply to: [Eazy CF Captcha] Plugin activation leads to blanked out pageSame to me on several pages. Eazy CF Captcha 1.2.2 causes a fatal error bringing every server down. Going back to Vers. 1.2.1: all works correct. All pages WP 6.1.1, php 8.1.x, Theme GeneratePress (NGINX-Server with server-cache deactivated on Pages with contactform7 formular to prevent Cache-Error for the captcha). Hope you can find the issue and fix it in the next release cause I really like your plugin and use it often. Greetings Claus
Forum: Fixing WordPress
In reply to: Benutzer Anlegen geht nichtDieser Fehler tritt auch bei mir auf einer WooCommerce Entwicklungsseite auf. Charakteristisch ist, dass das Passwortfeld mit Platzhaltern aufgefüllt ist, obwohl das Passwort standardmäßig lesbar ist. Dann ist die Benutzeranlage nicht möglich (mit beschr. Fehlermeldung). Deaktivierung von WooCommerce ermöglicht dann die normale Benutzeranlage. – Das geht natürlich nicht auf einer Live-Seite! 🙁
WP 5.6.1
WooCommerce 5.0.0
Browser: Safari (aktuell)Forum: Plugins
In reply to: [WP Show Posts] Display image captionSolution using WPSP Hooks in GeneratePress Elements:
Availabel WPSP-Hooks:
wpsp_before_wrapper
wpsp_before_header
wpsp_before_title
wpsp_after_title
wpsp_before_content
wpsp_after_content
wpsp_after_wrapperUse one of these as a user defined hook.
Hook content:
<?php if (get_post(get_post_thumbnail_id())->post_excerpt) { // search for if the image has caption added on it ?>
<p class=”featured-image-caption”>
<?php echo wp_kses_post(get_post(get_post_thumbnail_id())->post_excerpt); // displays the image caption ?>
</p>
<?php } ?>Works. Good luck.
Thank you, this is helpful! I disabled the checkbox and the error is gone.
Kind regards,
ClausYes it seems like I get this error only in safari (tested on firefox: none). But safari states the page-scroll-to-id.min.js as source of the error (when I click on it). Line 475 comes from the automatic expansion of the minified file to have it readable. It ist possible to close this sight and then the file is.. minified to one or two lines.
Here the first lines of the file:
/* Page scroll to id – version 1.6.2 */
!function(e, t, n) {
var a,
s,The line with the error is:
if (t)
this –>> for (var n = t.click.length – 1; n >= 0; n–) {
var a = t.click[n];
a && “mPS2id” != a.namespace && h.off(“click”, a.handler)
}Hope this helps.
Hi, thanks for your fast reply!
here is my url: https://clauspescha.de
I think so because my safari directs to the page-scroll-to-id.min.js file.