Support Forum » User Profile

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Gutenberg Block with Relation does not work anymore #40655
    MariusMarius
    Participant

    Just send it again.

    Thankfully, last time (2nd try), i saved the email-text 😉

    in reply to: Gutenberg Block with Relation does not work anymore #40554
    MariusMarius
    Participant

    Hi Peter,

    Did it reach you this time?

    Thanks in advance
    Marius

    in reply to: Gutenberg Block with Relation does not work anymore #40530
    MariusMarius
    Participant

    Just send it via your contactform again.

    With Subject: Gutenberg Block with Relation does not work anymore

    in reply to: Gutenberg Block with Relation does not work anymore #40505
    MariusMarius
    Participant

    Hi Peter,

    Unfortunately, this does not help.

    Have you received my email from the contact form last week?

    I did send you Credentials to the staging Website.

    Thanks in advance
    Marius

    in reply to: Gutenberg Block with Relation does not work anymore #40407
    MariusMarius
    Participant

    And i build it last year, with the MB Blocks Plugin

    in reply to: Gutenberg Block with Relation does not work anymore #40406
    MariusMarius
    Participant

    Additional Question: Is this related to PHP 8? Because i did the switch a few days ago and maybe since then it it not workign anymore…

    in reply to: Gutenberg Block with Relation does not work anymore #40405
    MariusMarius
    Participant

    Hello Peter,

    thanks for your feedback.

    Unfortunatly no success…

    I rewrote it to this:

    <?php
    $post_id = get_the_ID();
    $connected = new WP_Query( [
        'relationship' => [
            'id'   => 'kontakte-auf-seiten',
            'to' => $post_id, 
        ],
        'nopaging'     => true,
    ] );
    while ( $connected->have_posts() ) : $connected->the_post(); 
    ?>
    <div class="wrapper">
        <div class="person">
            <figure><?php echo get_the_post_thumbnail( $page->ID, 'kontaktpersonen' ); ?></figure>
            <div class="innercontent">
               <!-- <h5><?php $value = rwmb_meta( 'anrede', '', $post_id );  ?></h5>-->
            <h3><?php the_title(); ?></h3>
            <p>Tel.: <a href="tel:<?php echo rwmb_meta( 'telefon', '', $post_id ); ?>"><?php echo rwmb_meta( 'telefon', '', $post_id ); ?></a><br />
            Fax: <?php echo rwmb_meta( 'fax', '', $post_id ); ?></p>
            <p class="m-ail kontakt-mal"><a href="mailto:<?php echo rwmb_meta( 'email', '', $post_id ); ?>"><?php echo rwmb_meta( 'email', '', $post_id ); ?></a> </p>
            </div>    
            <a href="mailto:<?php echo rwmb_meta( 'email', '', $post_id ); ?>" class="kontakt-button">Kontaktieren</a>
    
        </div>
    </div>
        <?php
    endwhile;
    wp_reset_postdata();
    ?>
    in reply to: Gutenberg Block with Relation does not work anymore #40392
    MariusMarius
    Participant

    Sorry for my sloppy typing abovw…

    This used to work – but now it does not show the related items anymore…

    MariusMarius
    Participant

    Now, a few updates later, i still get only! this Warning:

    [03-Feb-2023 1 UTC] PHP Notice:  Undefined index: name in /httpdocs/wp-content/plugins/jet-engine/includes/compatibility/packages/meta-box.php on line 401
    [03-Feb-2023 08:49:41 UTC] PHP Notice:  Undefined index: name in /httpdocs/wp-content/plugins/jet-engine/includes/compatibility/packages/meta-box.php on line 401

    So i hope this will be fixes in a future update! 😉

    MariusMarius
    Participant

    Thanks, was fixed in an update

    in reply to: Views is broken #39446
    MariusMarius
    Participant

    I have a similar behaviour for me this one is not working it shows both options, even if i have only one value (like WOHNEN) on the post, this is for all for item in X queries :

    {% set backto = mb.rwmb_meta( 'nutzungsart', '', post.ID ) %}
                    {% for item in backto %}
    					{% if item == 'GEWERBE' %}
    						<div class="back-to-results">
    							<a href="/mietwohnungen-in-hagen/gewerbeobjekte/">Zurück zu allen Gewerbeobjekten</a>
    						</div>
    					{% elseif item == 'WOHNEN' %}
    						<div class="back-to-results">
    							<a href="/wohnungssuche-in-hagen/">Zurück zu allen Suchergebnissen</a>
    						</div>
    					 {% endif%}
                    {% endfor %}

    https://share.getcloudapp.com/eDunoD9b

Viewing 11 posts - 1 through 11 (of 11 total)