devsau
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Improper Page Display and product not visibleForum: Plugins
In reply to: [WooCommerce] Improper Page Display and product not visibleForum: Plugins
In reply to: [WooCommerce] Improper Page Display and product not visibleForum: Plugins
In reply to: [Invoices for WooCommerce] Rupee Symbol Problemokay
Forum: Plugins
In reply to: [Invoices for WooCommerce] Rupee Symbol Problemthis is the “functions.php” file of my theme..
what are you asking for?Forum: Plugins
In reply to: [Invoices for WooCommerce] Rupee Symbol Problemyeah sure ,
here it is..<?php define( 'OPTIONS_SLUG', 'virtue_premium' ); define( 'LANGUAGE_SLUG', 'virtue' ); load_theme_textdomain('virtue', get_template_directory() . '/languages'); /* * Init Theme Options */ require_once locate_template('/themeoptions/framework.php'); // Options framework require_once locate_template('/themeoptions/options.php'); // Options framework require_once locate_template('/themeoptions/options/virtue_extension.php'); // Options framework extension require_once locate_template('/kt_framework/extensions.php'); // Remove options from the admin /* * Init Theme Startup/Core utilities */ require_once locate_template('/lib/utils.php'); // Utility functions require_once locate_template('/lib/init.php'); // Initial theme setup and constants require_once locate_template('/lib/sidebar.php'); // Sidebar class require_once locate_template('/lib/config.php'); // Configuration require_once locate_template('/lib/cleanup.php'); // Cleanup require_once locate_template('/lib/custom-nav.php'); // Nav Options require_once locate_template('/lib/nav.php'); // Custom nav modifications require_once locate_template('/lib/metaboxes.php'); // Custom metaboxes require_once locate_template('/lib/gallery_metabox.php'); // Custom Gallery metaboxes require_once locate_template('/lib/taxonomy-meta-class.php'); // Taxonomy meta boxes require_once locate_template('/lib/taxonomy-meta.php'); // Taxonomy meta boxes require_once locate_template('/lib/comments.php'); // Custom comments modifications require_once locate_template('/lib/post-types.php'); // Post Types require_once locate_template('/lib/Mobile_Detect.php'); // Mobile Detect require_once locate_template('/lib/aq_resizer.php'); // Resize on the fly require_once locate_template('/lib/revslider-activate.php'); // Plugin Activation /* * Init Shortcodes */ require_once locate_template('/lib/kad_shortcodes/shortcodes.php'); // Shortcodes require_once locate_template('/lib/kad_shortcodes/carousel_shortcodes.php'); // Carousel Shortcodes require_once locate_template('/lib/kad_shortcodes/custom_carousel_shortcodes.php'); // Carousel Shortcodes require_once locate_template('/lib/kad_shortcodes/testimonial_shortcodes.php'); // Carousel Shortcodes require_once locate_template('/lib/kad_shortcodes/testimonial_form_shortcode.php'); // Carousel Shortcodes require_once locate_template('/lib/kad_shortcodes/blog_shortcodes.php'); // Blog Shortcodes require_once locate_template('/lib/kad_shortcodes/image_menu_shortcodes.php'); // image menu Shortcodes require_once locate_template('/lib/kad_shortcodes/google_map_shortcode.php'); // Map Shortcodes require_once locate_template('/lib/kad_shortcodes/portfolio_shortcodes.php'); // Portfolio Shortcodes require_once locate_template('/lib/kad_shortcodes/portfolio_type_shortcodes.php'); // Portfolio Shortcodes require_once locate_template('/lib/kad_shortcodes/staff_shortcodes.php'); // Staff Shortcodes require_once locate_template('/lib/kad_shortcodes/gallery.php'); // Gallery Shortcode /* * Init Widgets */ require_once locate_template('/lib/premium_widgets.php'); // Gallery Widget require_once locate_template('/lib/widgets.php'); // Sidebars and widgets /* * Template Hooks */ require_once locate_template('/lib/custom.php'); // Custom functions require_once locate_template('/lib/authorbox.php'); // Author box require_once locate_template('/lib/breadcrumbs.php'); // Breadcrumbs require_once locate_template('/lib/template_hooks.php'); // Template Hooks require_once locate_template('/lib/custom-woocommerce.php'); // Woocommerce functions /* * Load Scripts */ require_once locate_template('/lib/admin_scripts.php'); // Icon functions require_once locate_template('/lib/scripts.php'); // Scripts and stylesheets require_once locate_template('/lib/custom_css.php'); // Fontend Custom CSS /* * Updater */ require_once locate_template('/lib/wp-updates-theme.php'); new WPUpdatesThemeUpdater_647( 'http://wp-updates.com/api/2/theme', basename( get_template_directory() ) ); /* * Admin Shortcode Btn */ function virtue_shortcode_init() { if(is_admin()){ if(kad_is_edit_page()){require_once locate_template('/lib/kad_shortcodes.php'); }} } add_action('init', 'virtue_shortcode_init'); function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'Logged-In'; } else { $args['menu'] = 'Main Menu'; } return $args; } add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' ); function tml_edit_user_profile( $profileuser ) { ?> <p> <label for="user_phone">Phone Number</label> <input id="user_phone" type="text" name="user_phone" value="<?php echo $profileuser->user_phone; ?>" /> </p> <?php } add_action( 'edit_user_profile', 'tml_edit_user_profile' ); function tml_user_register( $user_id ) { if ( !empty( $_POST['user_phone'] ) ) update_user_meta( $user_id, 'user_phone', $_POST['user_phone'] ); } add_action( 'user_register', 'tml_user_register' );Forum: Plugins
In reply to: [Invoices for WooCommerce] Rupee Symbol Problemokay,
I tried it adding to my child theme’s function.php file ..
but, after i click “update file” it’s getting stuck …
and entire site is not loadingForum: Plugins
In reply to: [Invoices for WooCommerce] Rupee Symbol ProblemI tried doing the same , but did not see any file named functions.php in ./wp-content/plugins/woocommerce-pdf-invoices/functions.php
Please, Help out!!!!!!!!!!!!!!
Forum: Themes and Templates
In reply to: [Virtue] Showing pages depending upon user logged in or notDear Hannah,
I think you still haven’t understood the problem.
anyways , i will try again to explain.
i have made two menus one is logged-in and other is non-logged in.
both of which have a common link suppose named “X”. Now, what i am intending to do is , when clicked on link “X”(it is part of primary menu as option) it should open a page “A”(FOR LOGGED-IN USERS) OR Else it should open a page “B”(which i have made for non-logged-in use.rs)
Basically,what i am trying to do is to open a page when clicked on a link in menu and checking whether the user is logged in or not and displaying the page accordingly.
Hope dear you will understand.
Thank you,Forum: Themes and Templates
In reply to: [Virtue] Showing pages depending upon user logged in or notI don’t have any problems in menu, if you read my query properly you will understand.
Forum: Themes and Templates
In reply to: [Virtue] how to put icon menu on any page.Thanks you,
but , i am using premium plugin.
and i cannot find it anywhereForum: Plugins
In reply to: [Theme My Login] Log in . Log out not showing on menuI too have the same issue
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Postman SMTP not Working with WoocommerceI have it enabled , still it’s not working.