I'm trying to find out how to make a collapsible product categories on the product page sidebar. I'm using woocommerce and the Avada theme. I've tried scouring google to find a plugin for this or just get me in the right direction of doing it myself, if I can. Here is a picture of my current product sidebar As you can see it's a bit messy. Hoping someone can help me. Thank you … [Read more...] about Collapsible product categories on sidebar?
A landing page is a fascinating marketing tool. It is a single web-page that has a particular goal. It can be created to sell products, services, or encourage customers to sign-up for newsletters. It can dramatically increase website conversions and sales. Whether it is a reputable academic essay writing service, well-known affiliate marketing web-page or a simple e-commerce site, any will benefit from an attractive landing page. To be successful, it should be built wisely and have a clear message. Here is an ultimate guide on how to create an amazing landing in WordPress. What Makes Your Landing Effective First of all, it is essential to know what effective site consists of. The key is to make it targeted and specific. While creating a landing for one particular product, it is necessary to stick to the point. It can either direct traffic to the main website or the sales. Here are the basic rules of effective landing: It should be attention-grabbing; The scroll-down … [Read more...] about How to Create a Landing Page in WordPress That Sells
Is it possible to add a bulk action to an existing WP_List_Table object? Quforms uses class Quform_Entry_List_Table extends WP_List_Table I would like to add a custom bulk_action to their Entries admin page, but I do not want to customize their commercial plugin. I can get the bulk action added to the selector using add_filter('bulk_actions-forms_page_quform.entries','e2QBR_register_resend_action'); but, I cannot find any way to hook to the "Apply" button. add_filter('handle_bulk_actions-forms_page_quform.entries', 'e2QBR_Bulk_Action_Handler',10,3); does nothing, because this is a WP_List_Table. If this is possible, I would really appreciate a URL or code snippet to get me started. … [Read more...] about WP_List_Table add custom bulk actions
Given you have a URL, how can you get the post ID of a post on a remote WordPress site? As far as I can tell, you would have to: HTTP GET /wp-json/v2/posts And then look for your URL, but the problem is that this endpoint will only return 100 results by default. I don't want to have to download the ENTIRE content of a site just to find the post ID of a given URL. In V1 you could submit a query, but I think that's been depreciated. Any better ways to do this? … [Read more...] about Get a remote post ID via API given URL
I am examining a remote site, say with cURL or wp_remote_get()... How can I tell if it is a WordPress site or not, programmatically? Since anything in WordPress can be modified, there can't be a canonical answer. I am wondering what the best methods are. Candidates HTTP GET /wp-json/ Should return data about the site. At least the site title and description. The problem is that this also returns a huge amount of extraneous data. It's actually pretty slow. More specific API requests are a lot quicker. <meta name="generator" content="WordPress 5.2.2" /> The core spits out this meta tag in the HTML header. However, I'm told many security plugins remove this tag. So it seams this would be the actual, purpose built answer... but a lot of admins inadvertently, or intentionally, pull the tag. Which is dumb. The rational being that it exposes your core version, but you can solve this by simply updating your site. What's best? … [Read more...] about How to identify remote “Is it WordPress?” programatically?