Customization tips

Hi,

  • how to insert links or logo in the menu nav bar? I couldn’t find an easy way here on this forum yet (example social buttons in the right side)

  • how to delete dotted line at the end of the pages?

thanks for answering or post here your question about general customization.

Hello Saaaandro,

If you are using child theme. there are lot of hooks to do changes.

To insert codes in nav bar you can use following code:

function test () {
    echo 'test'; 
}
add_action ( "rtp_hook_end_primary_menu", "test" );

For delete dotted line:

function custom_remove_parent_hooks() {
    remove_action( 'rtp_hook_after_content_wrapper', 'rtp_footer_separator_border' );
}
add_action( 'init', 'custom_remove_parent_hooks' );

You can refer following link for customization. http://docs.rtcamp.com/rtpanel/

Thanks

Hello, I am also trying to delete the dotted line.

I dont think I am using child theme, i just downloaded and installed rtpanel. Do I use the same code?

function custom_remove_parent_hooks() { remove_action( ‘rtp_hook_after_content_wrapper’, ‘rtp_footer_separator_border’ ); } add_action( ‘init’, ‘custom_remove_parent_hooks’ );

if so where does it go?

many thanks, cat

Hello catcomp,

I recommend you to use child theme instead of doing changes in rtPanel theme directly.

Here are a few reasons:

  1. If you modify an existing theme and it is updated, your changes will be lost. With a child theme, you can update the parent theme (which might be important for security or functionality) and still keep your changes.
  2. It can speed up development time.

Check for more details. http://codex.wordpress.org/Child_Themes

BTW you can add above code in functions.php to remove dotted border.

Thanks