Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Template file for the dashboard menu
<?php
/**
* Dokan Dashboard Template
*
* Dokan Main Dahsboard template for Fron-end
*
* @since 2.4
*
* @package dokan
*/
?>
<div class="dokan-dashboard-wrap">
<?php
/**
* dokan_dashboard_content_before hook
*
* @hooked get_dashboard_side_navigation
*
* @since 2.4
*/
do_action( 'dokan_dashboard_content_before' );
?>
<div class="dokan-dashboard-content">
<?php
/**
* dokan_dashboard_content_before hook
*
* @hooked show_seller_dashboard_notice
*
* @since 2.4
*/
do_action( 'dokan_help_content_inside_before' );
?>
<article class="help-content-area">
<h1> Add Your Content</h1>
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates maiores exercitationem ducimus totam alias. Voluptatum maxime laboriosam, quis quos eveniet architecto. Quia quam ab molestiae praesentium explicabo minus, deleniti obcaecati. </p>
</article><!-- .dashboard-content-area -->
<?php
/**
* dokan_dashboard_content_inside_after hook
*
* @since 2.4
*/
do_action( 'dokan_dashboard_content_inside_after' );
?>
</div><!-- .dokan-dashboard-content -->
<?php
/**
* dokan_dashboard_content_after hook
*
* @since 2.4
*/
do_action( 'dokan_dashboard_content_after' );
?>
</div><!-- .dokan-dashboard-wrap -->
@innodigita
Copy link

Please I want to understand if the PHP open tag will be included in all the or I should remove them all? Because is showing me page 404 error.

@nayemDevs
Copy link
Author

@innodigita, You have to keep this - If you are having 404 then kindly re-save your permalink settings by following this video- https://www.youtube.com/watch?v=OVpbL7a7m44&list=PLfCBbsSol1ucKqjWaH9Wg2x6hux8HbOTB&index=10

@JhersonT
Copy link

Tengo un problema , cuando ingreso el código para mostrar el menu en otra pagina , me aparece el menu pero sin css ¿alguna solucion ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment