clcp92
Forum Replies Created
-
Yes is a question about The Events Calendar. I want the calendar to show in the following url http://www.site.com/resources/HERE so I go to Events Settings > General > Events URL slug and I add resources/HERE and save it resources-here instead resources/HERE.
Thanks!
Forum: Plugins
In reply to: [CMB2] How can I add a div before anything or edit the div class/idYes, I know that, but that display all the form, I would like to add class or edit the one that is on.
Change the class cmb-row cmb-type-text-medium cmb2-id-submitted-author-name
Add a couple of div, that way I can Give it the bootstrap style. I look in https://github.com/WebDevStudios/CMB2/wiki/Tips-&-Tricks but im not able to do it. I was trying to do something like this https://github.com/WebDevStudios/CMB2-Snippet-Library/blob/master/custom-field-types/address-field-type.php whit the tutorial use-cmb2-to-create-a-new-post-submission-form by Justin Sternberg,<div class="cmb-row cmb-type-text-medium cmb2-id-submitted-author-name form-group"> <div class="cmb-th"><label for="submitted_author_name">Your Name</label></div> <div class="cmb-td"> <input type="text" class="form-control" name="submitted_author_name" id="submitted_author_name" value=""> <span class="cmb2-metabox-description">Please enter your name for author credit on the new post.</span> </div> </div>Forum: Plugins
In reply to: [Polylang] How can I Make polylang Detect the language in this Code.Sorry, I Try to it, Is this How I have to do it….Im not that good on this
<?php if(isset(pll_get_term($mts_options['mts_trending_articles_cat'])) { if($mts_options['mts_trending_articles'] == '1' && $mts_options['mts_trending_articles'] != '') { ?>That Don’t work so, I’m doing something wrong…
Forum: Plugins
In reply to: [Polylang] How can I Make polylang Detect the language in this Code.Sorry I don’t Know how to start with the wpml-config.xml file and I don’t Know how to use pll_get_term Any Example? Or how I can Start
For now i Start to use this
<?php $currentlang = get_bloginfo('language'); if($currentlang=="en-US"): ?> <div>Content in English</div> <?php else: ?> <div>Content in Spanish (or other language)</div> <?php endif; ?>Up