Forum Replies Created
-
AuthorPosts
-
February 22, 2023 at 12:01 AM in reply to: Gutenberg Block with Relation does not work anymore #40655
Marius
ParticipantJust send it again.
Thankfully, last time (2nd try), i saved the email-text 😉
February 16, 2023 at 8:17 PM in reply to: Gutenberg Block with Relation does not work anymore #40554Marius
ParticipantHi Peter,
Did it reach you this time?
Thanks in advance
MariusFebruary 15, 2023 at 4:06 PM in reply to: Gutenberg Block with Relation does not work anymore #40530Marius
ParticipantJust send it via your contactform again.
With Subject: Gutenberg Block with Relation does not work anymore
February 13, 2023 at 11:55 PM in reply to: Gutenberg Block with Relation does not work anymore #40505Marius
ParticipantHi 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
MariusMarius
ParticipantAnd i build it last year, with the MB Blocks Plugin
Marius
ParticipantAdditional 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…
Marius
ParticipantHello 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(); ?>February 3, 2023 at 10:37 PM in reply to: Gutenberg Block with Relation does not work anymore #40392Marius
ParticipantSorry for my sloppy typing abovw…
This used to work – but now it does not show the related items anymore…
February 3, 2023 at 5:11 PM in reply to: MB Views PHP error in PHP 8 / maybe compatibility issue with JetEngine? #40389Marius
ParticipantNow, 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 401So i hope this will be fixes in a future update! 😉
February 3, 2023 at 4:08 PM in reply to: ✅MB Elementor Integrator 2.1.5: gallery field with only on image breaks E-Gallery #40386Marius
ParticipantThanks, was fixed in an update
Marius
ParticipantI 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 %} -
AuthorPosts