Use the get_terms slug as a term for tax_query [duplicate]

Update: ?> <div class=”four-sixths first”> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class=”one-sixth first”> <?php if (has_post_thumbnail()) { the_post_thumbnail(); } else { echo ‘<img src=”‘ . plugins_url(‘_images/food-placeholder.png’, dirname(__FILE__)) . ‘” />’; } ?> </div> <div class=”five-sixths”><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a></div> <?php endwhile;…

Magento 2 admin menu action result Invalid security or form key. Please refresh the page. on click

I have succesfully added a new admin menu. But the problem is whenever i clicked the admin menu button, I got Invalid security or form key. Please refresh the page. Here’re some of my codes. This is my menu.xml    <add id=”Testing_Basic::menu_item” title=”Manage Items” module=”Testing_Basic” sortOrder=”10″ parent=”Testing_Basic::menu” action=”Webpage/Create/Index” resource=”Testing_Basic::menu_item”/> And this is my directories looks like.

Magento2 Knockout js – translate variable text

I’m trying to translate text that comes from a variable in Knockout html file, but I can;t find the right way. Here’s some things I tried: <dt class=”label” data-bind=”html: i18n(option.label)”></dt> <dt class=”label” data-bind=”i18n: option.label”></dt> <dt class=”label”><!– ko i18n: option.label –><!– /ko –></dt> option.label returns a string like ‘width’ or ‘height’. There words are included in…

Magento 2 admin menu action result Invalid security or form key. Please refresh the page. on click

Forgive me for my question. Still new with magento 2. So I succesfully added a new admin menu. But the problem is whenever i clicked the admin menu button, I got Invalid security or form key. Please refresh the page. Here’re some of my codes. This is my menu.xml    <add id=”Testing_Basic::menu_item” title=”Manage Items” module=”Testing_Basic” sortOrder=”10″…