Forum Replies Created

Viewing 15 replies - 16 through 30 (of 51 total)
  • Thread Starter vcb

    (@vcb)

    @arno ; I can’t even really send you the correct code because this funny texteditor does not allow it ;/

    I sent you a mail with the problem. ty

    • This reply was modified 1 year, 6 months ago by vcb.
    Thread Starter vcb

    (@vcb)

    Something 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.
    Thread Starter vcb

    (@vcb)

    oh 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.

    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.
    Thread Starter vcb

    (@vcb)

    Thank 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 spaces

    • This reply was modified 1 year, 6 months ago by vcb.
    • This reply was modified 1 year, 6 months ago by vcb.
    Thread Starter vcb

    (@vcb)

    @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

    Thread Starter vcb

    (@vcb)

    WORKAROUND: 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.php

    add_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 reply was modified 1 year, 6 months ago by vcb.
    • This reply was modified 1 year, 6 months ago by vcb.
    Thread Starter vcb

    (@vcb)

    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.

    Thread Starter vcb

    (@vcb)

    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. ty

    Thread Starter vcb

    (@vcb)

    Thanks 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.

    Thread Starter vcb

    (@vcb)

    Thank 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.

    Thread Starter vcb

    (@vcb)

    Hi 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.
    Thread Starter vcb

    (@vcb)

    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_html

    I’ve also tried using css; but the variableWidth won’t adjust.

    Thanks in advance.

    Thread Starter vcb

    (@vcb)

    .. 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.

Viewing 15 replies - 16 through 30 (of 51 total)