Title: Print function not working
Last modified: October 11, 2021

---

# Print function not working

 *  Resolved [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/)
 * Could you please try and see why the orange Print button is not working but the
   other buttons are?
 * I need the orange button to be the method for printing as it links to the listing
   template rather than the others that are linked to a manual entry in each listing
   which is not an ideal method.
 * Your urgent support would be appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fprint-function-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14959960)
 * sure.
    the orange print button has the following HTML:
 *     ```
       <li id="cta-72be92" class="lmb-calltoaction">
           <a href="http://[print-me%20target=.element.table-block/%5D" rel="nofollow">
           	<i class="mi local_printshop"></i>    	<span>Print</span>
           </a>
       </li>
       ```
   
 * you are using a shortcode as link url… that is not how to do things.
    If you 
   want to use a button to print, check out this post: [https://spacedonkey.de/2400/print-o-matic-external-buttons/](https://spacedonkey.de/2400/print-o-matic-external-buttons/)
   and also this post: [https://spacedonkey.de/4188/print-o-matic-external-print-trigger-target-by-class/](https://spacedonkey.de/4188/print-o-matic-external-print-trigger-target-by-class/)
 * but to it quick, as you are apparently in quite a rush.
 * This part is bit confusing:
 * > I need the orange button to be the method for printing as it links to the listing
   > template
 * explain more about that
    -  This reply was modified 4 years, 8 months ago by [twinpictures](https://wordpress.org/support/users/twinpictures/).
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14960004)
 * Thank you VERY much for the fast reply.
 * Yeah, I imagined that the shortcode was no success but I have tried html links
   as well which only open another tab and no print.
 * The orange button is an option built into the theme and from what I can tell 
   from the links you provided, they are to create a button and then embed the shortcode
   somewhere on the page. I dont want to create a new button and am struggling to
   understand how/where to embed the shortcode.
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14960050)
 * Ok I have the [print-me id=”my_print_button” printstyle=”external”/] embedded
   in the footer.
 * Now to figure out what link to add to the orange button.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14960240)
 * The orange button should not have a link. if it _must_ have a link, then use `#`
 * This theme-provided orange button, does it allow you to assign it custom attributes?
   Can a data attribute such as: `data-print_target` to be set?
 * If not, then you’ll want to focus on the [class method](https://spacedonkey.de/4188/print-o-matic-external-print-trigger-target-by-class/).
   Of course, if the theme allows you to use custom HTML, you can roll-your-own 
   button with everything you need. You’ll need to check with the theme’s docs on
   that, I am afraid.
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961048)
 * If you wanted to use the orange button as the print trigger, what would you insert
   into it’s link field?
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961367)
 * So you have well established that you _can_ provide a link to the button.
    Are
   you able to leave the link blank? what else can you set? Can you give a CLASS
   to the button? Can you give an ID to the button? Can you define any other attributes
   for the button?
 * What else can be placed in the button space? Maybe a CUSTOM HTML block?
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961478)
 * If/when leaving the link black, the button does not show on the frontend.
 * [Here is a link](https://www.dropbox.com/s/v36fv4acz231vm4/CTA%20button.JPG?dl=0)
   to the settings applicable to the button.
 * You are able to link listing fields but it does not work as per the “Print Record”
   field as seen next to the “Report Errors” button but linking to a Field from 
   the listing is not ideal as it means creating this field for every listing.
 * I cant see a way to modify their button. I have asked them to inspect the possibility
   of linking Print-O-Matic service. Still waiting to hear from them.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961500)
 * > Are you able to leave the link blank?
 * so no.
 * > what else can you set?
 * icon, label. nothing else
 * > Can you give a CLASS to the button?
 * no
 * > Can you give an ID to the button?
 * no
 * > Can you define any other attributes for the button?
 * no
 * **What else can be placed in the button space? Maybe a CUSTOM HTML block?**
 * You are not going to be able to use this button widget. However, if there is 
   a ‘custom html block’ or a ‘code’ block you can use instead, then you can make
   your own button that looks the same, but allows you to actually use it for what
   you want.
 * > I can’t see a way to modify their button. I have asked them to inspect the 
   > possibility of linking Print-O-Matic service. Still waiting to hear from them.
 * This is not going to happen.
 * What theme is this? Can you share a link to any kind of useful documentation?
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961535)
 * I appreciate your time and clarity on this.
 * The theme is [MyListing](https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226)
 * I think I will need to see how to manually add/code my own button in.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961757)
 * About clarity: [This is the link to the documentation we asked for](https://docs.mylistingtheme.com/).
 * Since your issues is 100% related to how your theme works, we recommend you read
   the documentation. As the my-listings theme is based on the Elementor page builder
   it is very advanced. Elementor has a Custom HTML Widget that does exactly what
   you need: [https://elementor.com/help/html-widget/](https://elementor.com/help/html-widget/)
 * I am afraid that is all the support we can offer you on this issue. IF you would
   like a higher level of technical support, [print-pro-matic](https://pluginoven.com/premium-plugins/print-pro-matic/)
   comes with a [high-level of personal support](https://pluginoven.com/premium-plugins/print-pro-matic/testimonials/)
   that is often worth more than the price of the plugin.
 * All the best!
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961775)
 * Thank you again for your time.
 * I will be happy to purchase pro if this is a viable option.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961816)
 * If you think the free support is good, pro support is like adding a member to
   your team that focuses on one specific issue. Mr. Wolf from Pulp Fiction, if 
   you will.
 *  Thread Starter [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * (@dsc1978)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961823)
 * HAHA!
 * Sounds great!
 * Wishing you and the team all the best.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Print function not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/print-o-matic_b2b2b2.svg)
 * [Print-O-Matic](https://wordpress.org/plugins/print-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/print-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/print-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/print-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/print-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/print-o-matic/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [dsc1978](https://wordpress.org/support/users/dsc1978/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/print-function-not-working-2/#post-14961823)
 * Status: resolved