• Hello everyone,

    I’m using Hivepress template and your QR code plugin. The plugin is working correctly but it shows the QR code only in backend and I would love to show it in the listing that the wordpress templates creates automatically. Below you can see the image suggesting to put this code on the listing: [wooqr id=“2439” title=“1” price=“1”]

    What if I include in the file “hp_listing” the following: <code class=”hljs php”>

    <code class="hljs php"><span class="hljs-meta"><?php</span> <span class="hljs-keyword">echo</span> do_shortcode(<span class="hljs-string">'[wooqr id="'</span> . get_the_ID() . <span class="hljs-string">'" title="'</span> . get_the_title() . <span class="hljs-string">'" price="'</span> . get_post_meta(get_the_ID(), <span class="hljs-string">'_regular_price'</span>, <span class="hljs-literal">true</span>) . <span class="hljs-string">'"]'</span>); <span class="hljs-meta">?</span>

    The scope of it is to automatically fill the “listing id or wooqr id” so I dont have to manually fill it on the listing. I’ve asked this to the hivepress community that is asking me to check with you if your plugin it can be used with custom post types (WooCommerce product is a custom “product” post type, HivePress listing is a custom “hp_listing” post type).

    thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hivepress + QR Code customization’ is closed to new replies.