cedricbenjamin
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce multiple category hierarchyI so sorry, i didnt see the replies cause i did not recived notification…
Actualy my question can be simplified :
How can i create category hierarchy ?
How can i assign a “first” category to my product…Categories page :
https://snipboard.io/inJazy.jpgSame categorie and hierarchy for the 2 products :
https://snipboard.io/PogdOB.jpg
https://snipboard.io/HD6N8k.jpgProduct 1 : perfume category goes #3 (NOT OK)
https://snipboard.io/B46dYE.jpgProduct 2 : perfume category goes #1 (OK)
https://snipboard.io/9sKfOS.jpgTanks for help
C
Forum: Plugins
In reply to: [WooCommerce] Woocommerce multiple category hierarchyHello,
Category ok image :
The scent category (choconuts) is number 1 in the list : display the image below
https://snipboard.io/KY0Wry.jpgCategory not ok :
The scent category (vanilla strawberry) is number 3 in the list : DOES NOT display the image
https://snipboard.io/NGtaj5.jpgQuestion is : How can i change the category hierarchy ?
i tried to attribue one before the other but nothing change…Forum: Plugins
In reply to: [User Access Manager] Cannot add HTML since last updateSame issue
Cannot put html anymore.
Another crasy issue is that activating the plugin crash my nav bar !Forum: Plugins
In reply to: [Contact Form 7] textarea required filled with empty spaceI’ve found 2 hacks but i don’t know how to use it with CF7…
1:
var $message = $(“#message”);
$message.on(“keydown keypress”, function() {
var $this = $(this),
val = $(this).val()
.replace(/(\r\n|\n|\r)/gm,” “) // replace line breaks with a space
.replace(/ +(?= )/g,”); // replace extra spaces with a single space$this.val(val);
});2:
Another option without jQuery is to compare the currently assigned key to the previous key. If they are the same, and both are in the set of illegal keys, refuse the keypress action. This approach will not change the starting text in any way, no matter what spacing that has.
HTML:
<form action=”includes/change_status.php” id=”form2″ method=”post” name=”form2″>
<div class=”status-border-top”></div><div class=”status-border”>
<!– notice the onkeypress attribute –>
<textarea data-id=”status” id=”status” maxlength=”80″ name=”status” style=”width: 187px; margin-top:-4px; text-align:left; padding-left:5px; padding-top:3px; padding-bottom:2px; padding-right:3px; margin-left:-4px; height: 54px; font-size:12px; resize: none; border: hidden; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; position:relative; z-index:100;” onkeypress=”return ignoreSpaces(event);”><?php echo htmlspecialchars ($profile[‘status’]); ?></textarea>
<input class=”status-submit” id=”submit” name=”submit” src=”../PTB1/assets/img/icons/save-status.png” type=”image” value=”submit”>
</div>
</form>Javascript:
var lastkey;
var ignoreChars = ‘ \r\n’+String.fromCharCode(0);
function ignoreSpaces(e){
e = e || window.event;
var char = String.fromCharCode(e.charCode);
if(ignoreChars.indexOf(char) >= 0 && ignoreChars.indexOf(lastkey) >= 0){
lastkey = char;
return false;
}else{
lastkey = char;
return true;
}
}Forum: Plugins
In reply to: [Import Users from CSV] import ok but no mail sendHi Mark,
I finally use this plug :
https://www.ads-software.com/plugins/add-multiple-users/Works fine.
A lot of settings.
Ced
Forum: Fixing WordPress
In reply to: Display the excerpt in password protected postAgrumeprod,
Tx so much for your work, but without solution for near a month, i choose a another way to privatise my post.
I’m sorry, i guess i should close it before.
cedben
Forum: Plugins
In reply to: [List category posts] Password protected post titles disappeared from listHello,
I’ve got the same issue.
Did you finally find a solution ?
Tanks in advance,Forum: Plugins
In reply to: [Category Checklist Tree] Plugin Not Working in Admin Menus, Any Fix Please?Same issue.
I’ve got a complex hierarchy, so it will be great !
Thanks in advance !Forum: Themes and Templates
In reply to: [Spun] Do not display image in circleTank you so much Caroline, for this quick answer.
I’m sorry i did not see that this question have been already posted.
CedricForum: Themes and Templates
In reply to: [Spun] add subtitle to header?Hello,
Just ad “<h2 class=”site-description”>your description</h2>”
before the </hgroup> in the header.php
hope it helps,
Ced