vvaroczi
Forum Replies Created
-
Forum: Plugins
In reply to: [NS Slidebar - Sliding Panel Sidebar] Display slidebar only on specific pageAND THE WINNER IS – slidebar now only showing in my two my account pages
function output_slidebar(){
if( apply_filters(‘ns_slidebar_do_output’,true) && is_page( array( ‘my-account-business’,’my-account’))){
include( apply_filters(‘ns_slidebar_template’, plugin_dir_path(__FILE__).’templates/slidebar.php’ ) );
}
}Forum: Plugins
In reply to: [NS Slidebar - Sliding Panel Sidebar] Display slidebar only on specific pagealso tried
function output_slidebar(){
if( apply_filters(‘ns_slidebar_do_output’,true) && is_page( $page = ‘front_page’) ){
include( apply_filters(‘ns_slidebar_template’, plugin_dir_path(__FILE__).’templates/slidebar.php’ ) );
}
}Forum: Plugins
In reply to: [NS Slidebar - Sliding Panel Sidebar] Display slidebar only on specific pageI have also tried
function output_slidebar(){
if( apply_filters(‘ns_slidebar_do_output’,true) && is_page(‘my_account_business’,true) ){
include( apply_filters(‘ns_slidebar_template’, plugin_dir_path(__FILE__).’templates/slidebar.php’ ) );
}
}Forum: Plugins
In reply to: [NS Slidebar - Sliding Panel Sidebar] Display slidebar only on specific pagehey floxt, has the above worked for you?
I want the sidebar to only appear on my my account page and tried , bit did not work
function output_slidebar(){
if( apply_filters(‘ns_slidebar_do_output’,true) && (is_page(‘my_account’) )){
include( apply_filters(‘ns_slidebar_template’, plugin_dir_path(__FILE__).’templates/slidebar.php’ ) );
}
}Forum: Plugins
In reply to: Slide and Push Menu – Classie.jsI have also tried this
add_action( ‘wp_enqueue_scripts’, ‘menu_scripts’ );
function menu_scripts() {
wp_enqueue_script( ‘jquery’ );
wp_enqueue_script( ‘classie’);
wp_enqueue_script( ‘menu’, get_template_directory_uri() . ‘/js/menu.js’, array(), ‘1.0.0’, true );
}Still not working
Forum: Plugins
In reply to: Slide and Push Menu – Classie.jsI have tried the below as well, my-account is the page the menu will go
add_action( ‘wp_enqueue_scripts’, ‘menu_scripts’ );
function menu_scripts() {
wp_enqueue_script( ‘jquery’ );
wp_enqueue_script( ‘classie’, get_template_directory_uri() . ‘/js/classie.js’, array(), ‘1.0.0’, true );
wp_enqueue_script( ‘menu’, get_template_directory_uri() . ‘/js/menu.js’, array(), ‘1.0.0’, true );
wp_register_script(‘menu’, get_stylesheet_directory_uri() . ‘/js/menu.js’, false, null, true);
if(is_page(‘my-account’)){ wp_enqueue_script(‘menu’); }
}Forum: Fixing WordPress
In reply to: How to use wp_redirectThank you for your response.
I am very new to coding, would it be something like this:
echo $myUrl->toString();
$myurl = (‘ProjectTheme_my_account_id’);
wp_redirect ($myurl);exit;Many thanks
VHI,
with the short code [wpuf_editprofile] I can edit the entire profile from front end:
Name / username / nick name etc.
Contact Info / email / website
About Yourself / Biographical Info / password
Appointments – this is from an appointment plug inIs it possible to call only the Appointment part? e.g.[wpuf_editprofile profile_field=’appointments’] or something similar?
Thanks
VForum: Plugins
In reply to: [Appointments] Custom post typeHello Bojan,
I am now using [wpuf_editprofile] to display profile info on a page, and working on how to hide Name, Contact Info and About yourself profile fields and I will end up with Appointment fields only, which would be exactly what I want.
I post it here when I have found the solution.
V
Forum: Fixing WordPress
In reply to: Creating a Child Theme from a modified Parent Theme???Many thanks martcol I will have a look at the link!
ok will do thanks
This only started since I have enabled the javascript bit
Huppps, now I cant get into the wp-admin and getting the below error message
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie:Sorry, found the answer in a previous post, just had to enable the javascript in the footer bit and now works perfectly!
Hi,
Here is the link for the log in page.
xxxx
You are super fast!