FayssalF
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Weird Encoding ProblemSame problem here. I tried everything for more than a few days. I even contacted my host because I thought it could be a virus.
It is working fine without the W3 Total Cache.
I also believe WP 3.9 was the culprit. This was the issue :
2014-05-29 07:23:23.859 [NOTICE] [xx.xx.xx.xx:xxxxx-2#APVH_example.com] mod_security rule triggered!
[Thu May 29 07:23:23 2014] [error] [client xx.xx.xx.xx] ModSecurity: Access denied with code 503, [Rule: ‘ARGS:width’ ‘!@rx ^\d+px$’] [ID: 220620] [Msg: found CVE-2013-5963]
2014-05-29 07:23:23.859 [NOTICE] [xx.xx.xx.xx:35928-2#APVH_example.com] Content len: 0, Request line: ‘GET /wp-admin/admin-ajax.php?action=umm_switch_action&umm_sub_action=umm_add_custom_meta&width=600&umm_user=1 HTTP/1.1’
2014-05-29 07:23:23.859 [INFO]Problem fixed via the server. ModSecurity rule was being triggered.
Forum: Plugins
In reply to: [Plugin: Page.ly MultiEdit] Two Word Edit Labels BreaksFor the printing issue… Make it inside a loop and it will work. Great plugin from Joshua but his documentation needs to include this tip.
This is how you’d make it work:
<div id"something"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php multieditDisplay('YourBlockName'); ?> <?php endwhile; ?> <?php endif; ?> </div>
Forum: Plugins
In reply to: Multiple Content Blocks Plugin – warning in block moduleThat is because you have no single.php in your ‘stonier’ template directory. Create even an empty one and everything will get fixed.
Forum: Fixing WordPress
In reply to: How to get list custom taxonomy terms for specific taxonomy@niraj – Try this:
<?php echo get_the_term_list( $post->ID, 'location', '<p>Location : ', ', ', '</p>' ) ?> <?php echo get_the_term_list( $post->ID, 'duration', '<p>Duration : ', ', ', '</p>' ) ?> <?php echo get_the_term_list( $post->ID, 'courses', '<p>List of courses : ', ', ', '</p>' ) ?>
You might probably use it in your single-custom-post-type.php just around
<?php the_content(); ?>