fksr86
Forum Replies Created
-
Forum: Plugins
In reply to: [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress] v3 don’t worki had the same issue and i noticed that the reCAPTCHA was not being reloaded when there was an error on WooCommerce checkout submission.
i have removed the
wc_checkout_params
condition onanr-captcha-class.php
(lines 328–330) and now it’s working again.turned this:
if ( typeof wc_checkout_params !== 'undefined' ) { jQuery( document.body ).on( 'checkout_error', anr_onloadCallback ); }
into this
jQuery( document.body ).on( 'checkout_error', anr_onloadCallback );
don’t know if it’s the best solution, let’s see what plugin author has to say.
Forum: Plugins
In reply to: [Fraud Prevention For WooCommerce and EDD] CSS conflictworked here, not affecting Contact Form 7 anymore.
thanks!
Events Manager allows you to create templates inside your theme that are used instead of their default templates. all these files must be placed inside your theme, on the folder
plugins/events-manager
.for example, if you want to create a template for the single category display, create a file named
category-single.php
on this folder. to list categories, create acategories-list.php
. more information on this here: https://wp-events-plugin.com/documentation/using-template-files/i used the code above on
category-single.php
.Forum: Plugins
In reply to: [PixGridder] classes not being savedi’ve tried this and it really keeps the classes, but it ends up messing around with the columns.
probably it’s related to this, cause when i reduce the number of columns the problem is solved.
i’ll try again in another site, as the one i need it working is already online, so i can’t have it messing my columns right now! i reduced columns and that’s it for now
i ended up using a php template that get the same page as the category archive.
i’m posting the code here, in case someone needs it:
get the page id set for the category page
$page_for_category = get_option('dbem_categories_page');
get this page content
$category_page = get_post($page_for_category); $page_base = $category_page->post_content;
the default code for the category single loop
global $EM_Category; $page_content = $EM_Category->output_single();
replaces CONTENTS (what the plugin uses to replace content) with the category single loop
if(preg_match('/CONTENTS/', $page_base) ){ $final_content = str_replace('CONTENTS', $page_content, $page_base); echo $final_content; }
and that’s it!
no, this requires me to edit the php. as i’m using Visual Composer to create the pages, i’m not being able to reproduce the same layout as required by the client.
i see that the header and the footer of the page is managed by the plugin, it uses the
category-single.php
just for the main content. i was wondering if i could use another page layout and just put this loop inside it, usingCONTENTS
placeholderForum: Fixing WordPress
In reply to: stop query_posts??
Forum: Fixing WordPress
In reply to: posts missingwell, i’ve found a solution.
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-7,-146&paged=$paged"); ?>
using this
$paged
thing made myposts_nav_link
work.thanks anyway!
Forum: Fixing WordPress
In reply to: message each x poststhanks! it works very well!
Forum: Fixing WordPress
In reply to: i want “minutes ago” on my poststhanks! but it doesn’t work very well on query_posts…
Forum: Fixing WordPress
In reply to: Posts from the same authorthat’s not exactly what i was asking… i just can’t make a list of the post from the same author from the current post showing. i tried to use something with the_author function, but hasn’t worked.
Forum: Fixing WordPress
In reply to: how to make a links pagehey, someone help me!
Forum: Fixing WordPress
In reply to: Posts from the same authorhey, someone help me!
Forum: Fixing WordPress
In reply to: template vs. index.phpjust discovered that i should have created a single.php file. sorry!
Forum: Themes and Templates
In reply to: template not appearing on themes listi just found out that my template had no description, so i couldn’t see it properly on the list. now i’ve got it.