zoomlord
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
thanks a lot @misulicus
the problem was the Hide My WP Ghost Lite plugin i disable that and the problem fixedsorry but i cant understand how can i change the language
can you explain more?hi
no i mean the account page have tabs and i want to add a new tab with new link i tried this code/* add new tab called "mytab" */ add_filter('um_account_page_default_tabs_hook', 'my_custom_tab_in_um', 100 ); function my_custom_tab_in_um( $tabs ) { $tabs[800]['mytab']['icon'] = 'um-faicon-pencil'; $tabs[800]['mytab']['title'] = 'My Custom Tab'; $tabs[800]['mytab']['custom'] = true; return $tabs; } /* make our new tab hookable */ add_action('um_account_tab__mytab', 'um_account_tab__mytab'); function um_account_tab__mytab( $info ) { global $ultimatemember; extract( $info ); $output = $ultimatemember->account->get_tab_output('mytab'); if ( $output ) { echo $output; } } /* Finally we add some content in the tab */ add_filter('um_account_content_hook_mytab', 'um_account_content_hook_mytab'); function um_account_content_hook_mytab( $output ){ ob_start(); ?> <div class="um-field"> <!-- Here goes your custom content --> </div> <?php $output .= ob_get_contents(); ob_end_clean(); return $output; }
but i dont know what am i have to add in content like link a page i know the shortcode like do_shortcode but i dont know how can i link a page
- This reply was modified 4 years, 1 month ago by zoomlord.
Forum: Plugins
In reply to: [CyberPress] fattal error when I activated the pluginI think that was for some php extensions
I just enabled the required php extensions for WordPress and error fixed
maybe not i just try that
– and very thanks for your help. good job!- This reply was modified 4 years, 2 months ago by zoomlord.
Viewing 4 replies - 1 through 4 (of 4 total)