Open the HTML page or template containing the Web form that you want to use with CKEditor. This form should contain atextareaelement. In order to make your form work with CKEditor, you need to include theckeditor.jsfile in the page containing the form. Add this line inside the page’s...
August 05 2022 Hey there! If you wish to display the price in 2 currencies, and you're using WooCommerce, you can use the filter woocommerce_get_price_html: add_filter('woocommerce_get_price_html', 'my_price_html, 99, 2); function my_price_html( $price, $product ){ return 'Was:...
Finally, theadd_actionfunction is used to add thewplm_add_quicktags2function to theadmin_enqueue_scriptsaction hook. This ensures that the custom buttons are added to the HTML editor when the admin scripts are enqueued. In summary, this code adds two custom buttons to the WordPress HTML edito...
The section and styling is all ready to go- you just need to include this section in the template it should appear in, or add presets with the schema settings of the section, if you want it to appear on the home page. Once included, you will be able to edit all the different text ...
Where Tailwind and WordPress work well together In order for Tailwind to work well without significant customization, it needs to act as the primary CSS for a given page; this eliminates a number of use cases within WordPress. If you’re building a WordPress plugin and you need to include fr...
Finally, return to your WordPress page or post, but make sure you select theText editorbefore pasting your code wherever you’d like: Using theEmbed Codeapproach takes a little bit longer than the widget method, but is a great choice for those with coding experience, as it has the potentia...
For the modal itself, I decided to display a tutorial video on using the CPT on the first page, and then describe in detail all the options available in the CPT on subsequent pages. I believe this layout is an effective way to show documentation to the user. It is out of the way, ...
To track leads in WhatConverts from your website, you will need to implement the WhatConverts Tracking Code. This page will walk you through setting up tracking using the standard HTML code or the WhatConverts WordPress Plugin. To learn how to set up tracking using another plat...
Now that we have our settings page set up and we know how to move the items around, we can start working on the fields. The work we have done thus far will be reused for the various methods below. Approach 1: Using The Built-In WordPress Functionality ...
Adding Fields to an Existing Page or Making a New Page? If you're making a plugin that will be downloaded by users, I think it's often best to make a standalone new option page. WordPress users are mostly used to installing plugins and then look for a new menu where they'll configur...