maxsdesign
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconYes, as I said, to see the icon even on desktop you have to add it to the menu.
In the Polylang docs you can read:You can include the Polylang language switcher in your menu. If you don’t see the language switcher metabox, check that it is not disabled in the screen options.
Forum: Themes and Templates
In reply to: [Brand] Sticky MenuIt will be in the next update, maybe tonight.
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconHi itweb99,
you see the icon only on small devices because that function adds the icon only in the compact menu. You need to add the icon in the menu as well (docs here), add a class to that menu item and hide the icon on small devices like so:@media (max-width: 1024px) { .your-switcher-icon-item-class { display:none; } }Forum: Themes and Templates
In reply to: [Brand] How to remove powered byHi,
You can add custom footer content replacing this line in footer.php<?php do_action( 'brand_site_info' ); ?>with your custom content.
Use a child theme or your changes will be lost with the next theme update.
Anyway, we have added a filter to change footer content. It will be in the next theme update. From that time you can use a filter to change footer content:function my_custom_text() { echo 'My new site info'; } add_filter( 'brand_footer_text', 'my_custom_text' );Forum: Themes and Templates
In reply to: [Brand] NavigationHi,
you can add a phone number in the menu using a custom link in the WordPress menu settings. You can show social icons adding a custom link to the menu, then choose the icon you want to show on http://fontawesome.io/icons/ and copy and paste the code in the navigation label field. For example Facebook icon is <i class=”fa fa-facebook”></i>.
For the footer go in the Customizer and choose the number of widgets that you want to show in the footer section. Then add the widgets. The demo uses the recent posts widget, contact info widget and blog subscription widget from Jetpack.Forum: Reviews
In reply to: [Brand] TOP TOP TOP! The best of ALLSHi Silvana, thanks for your review.
You can hide featured image. In the Customizer go to Layout > General and set Featured image position value to Inside header. This is an option added in Brand 1.8.3, so you need to have the last version of the theme. Then in your post or page check Hide header in the Hide elements metabox. It’s a bit tricky, I know, and we are going to add the option to hide the featured image in one of the next versions.Forum: Themes and Templates
In reply to: [Brand] Home page sliderHi barquerole,
maybe you are using the full width page template. I added slider support on that template in the last version of the theme. I will upload it within 48 hours.Forum: Themes and Templates
In reply to: [Brand] Hamburger Icon – Nav MenuHi, add this function at the bottom of your functions.php file (use a child theme or it will be overwritten on next update):
function brand_compact_navigation() { $brand_settings = wp_parse_args( get_option( 'brand_settings', array() ), brand_get_defaults() ); $search_icon = 'enabled' === $brand_settings['nav_search'] ? '<a href="#" class="search-form-icon"><i class="fa fa-fw fa-search menu-search-form-icon"></i></a>' : ''; ?> <div class="compact-menu-icons"> <?php echo $search_icon; ?> <a style="cursor:pointer;" id="mobile-menu-button"> Menu </a> </div> <?php }Forum: Themes and Templates
In reply to: [Brand] FooterIt’s not in the wrong place. If you take a look at the demo you can see that the widgets area is above the site info.
Forum: Themes and Templates
In reply to: [Brand] Bilingual SliderHi,
can you provide a screenshot of the Strings translations page?Forum: Themes and Templates
In reply to: [Brand] Sticky MenuHi indymedia, you’re right, that option is in the premium version, but we are going to add it in the free theme on next update.
Forum: Themes and Templates
In reply to: [Brand] Add or Remove Slider layersHi thanassis05, thanks for appreciating the theme!
Yes, you can add or remove slides. At the bottom of functions.php (preferably in a child theme) add this code snippet (change the number as you like it):function more_slides() { return 4; } add_filter( 'brand_slides_number', 'more_slides' );Forum: Themes and Templates
In reply to: [Brand] Bilingual SliderHi itweb99, it’s a bit tricky but you can.
Create a new file with a text editor of your choice and name it wpml-config.xml.
Put this code in it:<wpml-config> <admin-texts> <key name="brand_settings"> <key name="brand_slide_title1" /> <key name="brand_slide_subtitle1" /> <key name="brand_slide_button_text1" /> <key name="brand_slide_button_url1" /> </key> </admin-texts> </wpml-config>Repeat for every slide you need translation. Remember to change the number.
Then place the wpml-config.xml file in /wp-content/polylang/ (create the polylang directory if it does not exist).
Then from your Admin dashboard go to Languages > Strings translations. Here you can find all the sliders text that you saved within the Customizer and can add your own translations.
Anyway, I’m going to add this file in one of the next updates.Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconI saw the image. How did you insert the flag? Maybe it needs only a little style adjustment, but I need to see the code that you used.
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconAs I said in the previous reply, this solution works if you set to yes Layout > Navigation > Use compact menu on desktop.
You should see something like this:
The code should be in the functions.php of a child theme, but you can place it at the bottom of the file. Remember that in this way you will lost your changes on next theme update.
The menu should be on the right, can you provide a url or a screenshot to take a look?- This reply was modified 9 years, 2 months ago by maxsdesign.