Sandy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Republic] Theme won’t publishHi,
Sorry you are facing issue with theme, please send screenshot of option you are change and getting error. I will also look at website config please send debug log at [email protected]
I saw that option thanks,
can you provide option make Date and Time to choose from separate dropdown (Also make calendar without dropdown user option).Another is this sometimes give an database error when I try private browsing for first time
Forum: Themes and Templates
In reply to: [Level] dosent work with rtl ?!Can you please share your website address, also make sure you are using updated version of theme
Forum: Developing with WordPress
In reply to: How Category to Display Like Tree in CustomizerBut No success on implement. can any one help on this
Current Codes
if ( ! class_exists( 'WP_Customize_Control' ) ) return NULL; /** * A class to create a dropdown for all categories in your wordpress site */ class Category_Dropdown_Custom_Control extends WP_Customize_Control { private $cats = false; public function __construct($manager, $id, $args = array(), $options = array()) { $this->cats = get_categories($options); parent::__construct( $manager, $id, $args ); } /** * Render the content of the category dropdown * * @return HTML */ public function render_content() { if(!empty($this->cats)) { ?> <label> <span class="customize-category-select-control"><?php echo esc_html( $this->label ); ?></span> <select <?php $this->link(); ?>> <?php foreach ( $this->cats as $cat ) { printf('<option value="%s" %s>%s</option>', $cat->term_id, selected($this->value(), $cat->term_id, false), $cat->name); } ?> </select> </label> <?php } } }
And array
// create an empty array $cats = array(); // we loop over the categories and set the names and // labels we need foreach ( get_categories() as $categoriesi => $categoryy ){ $cats[$categoryy->term_id] = $categoryy->name; }
Into customizer
$wp_customize->add_control( new Category_Dropdown_Custom_control( $wp_customize, 'category_dropdown_setting', array( 'label' => 'Select A Category', 'section' => 'category_demo_section', 'settings' => 'category_dropdown_setting', ) ) );
Now I’m trying to use wp_dropdown_categories
// create an empty array $cats = array(); // we loop over the categories and set the names and // labels we need foreach ( wp_dropdown_categories() as $categoriesi => $categoryy ){ $cats[$categoryy->term_id] = $categoryy->name; }
And custom walker doesn’t seems to work
Forum: Developing with WordPress
In reply to: category without link / the_category()You can use below code
<?php foreach((get_the_category()) as $category){ echo $category->name."<br>"; } ?>
Forum: Themes and Templates
In reply to: [Republic] Google Web Light doesn’t Render page fullyWe have updated theme header area issue please update it and let me know if still have any issue.
Forum: Themes and Templates
In reply to: [Republic] Need help to align Text with Text AreaOverflow has been fixed now, please update your theme
Forum: Plugins
In reply to: [WP-PostRatings] How to Get Rating Meta Data Wp-PostRatingthank you problem resolved
Forum: Plugins
In reply to: [WP-PostRatings] How to Get Rating Meta Data Wp-PostRatingHi @lester Chan
Please reply me, How I can get meta data for plugin ?
I’m also getting error with plugin
Warning: Invalid argument supplied for foreach() in /home/freshvegcart/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.php on line 903Forum: Themes and Templates
In reply to: [ProMax] LanguagesI have added German translation in new version 1.5.7 will live soon.
Forum: Themes and Templates
In reply to: [Effect] 403 Forbiddenthis is permission issue into server not related to theme.
Forum: Themes and Templates
In reply to: The zip file was emptySame here even using Internet Explorer while using winrar and windows default zip compressor same problem
Forum: Themes and Templates
In reply to: How to change "leave a reply"?i think you should also read this post https://www.ads-software.com/support/topic/require-features?replies=2
Forum: Themes and Templates
In reply to: [Magazine Style] Require featuresYou can do both of options.
1. To change comment text read out brief post https://www.wrock.org/change-options-field-in-wordpress-comment-form/
Here change Leave a reply with your own text2.To creating of poems you need to edit code in Index.php and post.php with your custom requirements