Title: clcp92's Replies | WordPress.org

---

# clcp92

  [  ](https://wordpress.org/support/users/clcp92/)

 *   [Profile](https://wordpress.org/support/users/clcp92/)
 *   [Topics Started](https://wordpress.org/support/users/clcp92/topics/)
 *   [Replies Created](https://wordpress.org/support/users/clcp92/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/clcp92/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/clcp92/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/clcp92/engagements/)
 *   [Favorites](https://wordpress.org/support/users/clcp92/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Tickets and Registration] How to change the Events URL slug to a custom post type?](https://wordpress.org/support/topic/how-to-change-the-events-url-slug-to-a-custom-post-type/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/how-to-change-the-events-url-slug-to-a-custom-post-type/#post-9918818)
 * Yes is a question about The Events Calendar. I want the calendar to show in the
   following url [http://www.site.com/resources/HERE](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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] Can I integrate my own buttons?](https://wordpress.org/support/topic/can-i-integrate-my-own-buttons/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/can-i-integrate-my-own-buttons/#post-7012062)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] How can I add a div before anything or edit the div class/id](https://wordpress.org/support/topic/how-can-i-add-a-div-before-anything/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/how-can-i-add-a-div-before-anything/#post-6550813)
 * Yes, 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](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](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] How can I Make polylang Detect the language in this Code.](https://wordpress.org/support/topic/how-can-i-make-polylang-detect-the-language-in-this-code/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-make-polylang-detect-the-language-in-this-code/#post-5450970)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] How can I Make polylang Detect the language in this Code.](https://wordpress.org/support/topic/how-can-i-make-polylang-detect-the-language-in-this-code/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-make-polylang-detect-the-language-in-this-code/#post-5450791)
 * 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; ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] How can I Translate a Single Text because the Plugin doesn't translate it.](https://wordpress.org/support/topic/how-can-i-translate-a-single-text-because-the-plugin-doesnt-translate-it/)
 *  Thread Starter [clcp92](https://wordpress.org/support/users/clcp92/)
 * (@clcp92)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-translate-a-single-text-because-the-plugin-doesnt-translate-it/#post-5411239)
 * Up

Viewing 6 replies - 1 through 6 (of 6 total)