Jay
Forum Replies Created
-
Forum: Hacks
In reply to: Adding sign up check box to custom formWhen working with form plugins, it’s not usually as simple as adding some HTML, you will also need to figure out how the plugin is processing the form before sending to mail chimp.
Sorry I can’t be of more help ( code examples, etc.. ) but I hope this points you in the right direction.
Forum: Hacks
In reply to: get LinkedIn profile informationsThere’s no simple answer I’m afraid. A google search found hardly anything of value.
You’ll want to take a look at the linkedin API here: http://developer.linkedin.com/apis
You’ll need that api to create this plugin.
Forum: Hacks
In reply to: Link Category to a PageA hacky way of doing it would be to use
template_redirect()combined withis_tax( 'product_cat' ), but then you’d also need to make sure you’re redirecting only the term you want to.The most logical way however, if you’re not looking to redirect a specific term; rather you want to replace the entire product category listing on that specific page ( I assume the store root page ) is to edit your template and drop in a nav menu instead of the category listing. So you may then go to the back-end and add/remove pages as needed, as well as many other things.
I’ll look into this, uninstallation is important to me, I don’t like leaving old meta data in users’ database.
Forum: Plugins
In reply to: [Agy - Age verification for WooCommerce] Custom css wont workShould be fixed in 3.6.6
Please keep NSFW links off of the public forum. For support for NSFW sites use my contact page here: http://www.plugish.com/contact/
I haven’t looked at the site but this should do:
.cwv3_content{ color: black }That’ll force all text within that container to be black.
Forum: Hacks
In reply to: How to upload custom field images to wordpress automatically?Kind of devy, so I apologize for the lack of context, but I hope you know what I mean at least.
You’ll need to explode the string with a delimiter of “;” then walk over each item in the array doing something similar to media_sideload_image()
You’ll probably want to do that logic on a save post hook, but check that the attachment doesn’t already exist in some manner as to prevent re-downloading the image more than once.
Forum: Plugins
In reply to: [Agy - Age verification for WooCommerce] Custom css wont workWas fixed in this commit https://github.com/JayWood/content-warning-v3/commit/1a341c27766416571ecb8c01c15a4abac389fc19
Will be merged sometime this weekend into the .org plugin repo.
Tranny – I’ve had mixed results with CF’s auto minification due to poorly written javascript. If there’s a fatal javascript error somewhere above my script, or heaven forbid it’s my script, the popup will never show.
Best I can suggest is with CF’s minification activated, open up your debug console and see if there are any javascript errors.
Btw, sorry for the late response.
Marking resolved, feel free to re open if not.
Marking resolved, feel free to re-open if not.
Forum: Plugins
In reply to: [Agy - Age verification for WooCommerce] Custom CSS not working?Marking as resolved, feel free to re-open if not.
This is fixed in the latest version, closing.
You’re using the wrong hooks to remove the meta box. This will remove the metabox on all but the right page:
function remove_cwv2_metabox( $post_type, $post ) { // FIrst get the ID for the front page $post_id = get_option( 'page_on_front' ); if ( isset( $post->ID ) && $post_id == $post->ID ) { return; } // USe the post type variable to hide the box on EVERY other post type and page. remove_meta_box( 'cwv3_meta_section', $post_type, 'side' ); } add_action( 'add_meta_boxes', 'remove_cwv2_metabox', 999, 2 );Additionally you’ll still have to take care of the dialog, ie. Only show it on the homepage. You will also, ( for aesthetics ) need to handle the visibility of the locks on the post list pages in the admin.
This plugin uses JavaScript to show the dialog, and the dialog information is located within the footer of the HTML document. Since, if I recall, search engines do not load JavaScript when crawling, this will not affect your SEO scores.
Furthermore, I’ve had no reports that it has to anyone else.