vcb
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Using ” apostrophe ” in captions breaks pluginForum: Plugins
In reply to: [Lightbox with PhotoSwipe] Using ” apostrophe ” in captions breaks pluginSomething seems a bit off; for some reason it does interpret “” correct within the caption text; but not when it’s in lightbox mode.
Just use any image with some caption text which uses (TEST ?J L“)
Result: Caption text (without lightbox mode active) = correct
Captions in Lightbox mode = incorrect
Input is the same, any clue why this happens?Test ?J L“ – this should also look like this in inspector/html source code
- This reply was modified 1 year, 6 months ago by vcb.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Using ” apostrophe ” in captions breaks pluginoh yeah; just tested different glyphs
working: ? “Thank you very much for your offer to help. This project uses a lot of captions and when I’d use the usual ” ” it does not work; because of conflict with html ” “, as long it’s not ” it should work.
- This reply was modified 1 year, 6 months ago by vcb.
Forum: Plugins
In reply to: [Gutenberg] How to restrict block next post & previous post to same category?Does anyone know how to change it to use orderby ID? I’m referring to the custom sortorder ID which can be set. ty
- This reply was modified 1 year, 6 months ago by vcb.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Using ” apostrophe ” in captions breaks pluginThank you Arno; it’s been some time since I’ve visited the
“Teufelsberg”
To me it looks like it’s working; but not out of the box.
So; instead of using “Teufelsberg” just use“Teufelsberg”
*code editor screws my code:
“Teufelsberg” is in writing: & # 8 2 2 0 ; Teufelsberg & # 8 2 2 1 ;
*without white spacesForum: Themes and Templates
In reply to: [Twenty Twenty-Three] Limiting Prev/Next to the same category@thelmachido thank you; it does work. Unfortunately it’s using the wrong orderby setting; do you know how to change it so it uses orderby ID (not the postid; I’m talking about the custom page ID which can be used as sort order.ty
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Lightbox for feature imageWORKAROUND: I’ve installed lightbox photoswipe and created a custom function/shortcode which I then implement into templates by using:
//add the following to your child-theme overwrite templates.html
< !– wp:shortcode — >
[your-custom-shortcode]
< !– /wp:shortcode — >
//*remove the spaces < !– + — > !!!
//add the following to functions.phpadd_shortcode( ‘your-custom-shortcode’, ‘shortcode1’ );
function shortcode1( $atts ) {
//return “foo = {$atts[‘foo’]}”;
return ‘DO WHAT YOU WANT’;
}This is kinda … yeah; in case someone got a better option; please share it with us. Thanks.
this might be true for the first time user, but for people working with wordpress since 10+years it’s always a 100% headache when someone changes course and direction …
It’s been always a hustle; and i don’t see any way out.
code = true;
Thanks for pointing it out that it might break the whole thing, figured a workaround by now. So I’m set to work in code and push it back and forth.
But where can I change the image size to use thumbnail size? Don’t you have some dev-manual where I can find these infos? Thanks for helping out.Thanks you Kathryn. This isn’t what I’m looking for.
Do you know how to adjust the image size via code?
Example code from the template:
< !– wp:post-featured-image? … –>
I’d like to use the thumbnail instead; but without using the visual editor at all, if possible. tyForum: Themes and Templates
In reply to: [Twenty Twenty-Three] Lightbox for feature imageThanks for the note Kathryn. You’re right, I already installed a Lightbox Plugin which works on the Gallery. But I’d need to get this working on feature images too. Do you know where I can change the php code?
The new “framework” of twenty-twenty-three kinda excludes php from the template file. This makes it weird editing; compared to older versions.
I try to avoid the “designer” and prefer working in code. Having a hard time with the new theme … Any help/tipp is very welcome, thanks.Forum: Plugins
In reply to: [Custom Related Posts] 3rd List possibleThank you, that helped me a lot and I’ve been able to get a working code within the source file of your plugin.
Do you see any way of overwriting the function “public function output_relation( $relation ) {” from functions.php?
I’ve tried it but when I use it with “public” I’m getting critical WP errors, without it the overwrite won’t take effect.
Do you see a way to “hook” onto this function via functions.php?title=”‘. get_cat_name( $postcat[0]->cat_ID, ‘category’ ) . ‘ – ‘ . $relation[‘title’] .'”
Basically I’ve ended up by implementing the parent-category names as prefix as alt title tag in the <div>. When someone hovers over the relational link; the “PARENT CAT – Article Title Name” shows up. It’s not what I’d need but might be a good compromise.Forum: Plugins
In reply to: [Custom Related Posts] 3rd List possibleHi Brecht,
thanks for the quick response.
Indeed my question is kinda nonsense; I mixed it with another Plugin I’ve been trying out…
The question I’m having, I’d like to make 3 separate related sections, based on the main categories.
Cat 01 – > All related to this Category show up here
Cat 02 – > All related to this Category show up here
Cat 03 – > All related to this Category show up here
Is there any php with what I can check against the main categories for each related article? Speaking of frontend only, does not need to be separate forms in the backend.
Thanks for your help- This reply was modified 1 year, 8 months ago by vcb.
Forum: Plugins
In reply to: [My WP Glossary] Glossary misses A-G, starting at Letter “H”solved: “mywpglossary_glossary_term_limit” change the maximum display term in the glossary page ( 200 by default )
Hi,
I’d like to adjust the image thumbnail size.
I’ve tried the following code without success:add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { return array( 'width' => 70, 'height' => 70, 'crop' => 1, ); } );
also tried different hooks:
woocommerce_gallery_thumbnail_size
woocommerce_single_product_image_thumbnail_htmlI’ve also tried using css; but the variableWidth won’t adjust.
Thanks in advance.
.. to make it clear, using the setting “Unattached Images” will cause Media Library Uploads to NOT have the watermark included, but all other post-types do.
Currently it forces my blog post uploaded images to “not” include the watermark, but here it’s needed to be shown.