Public Ticket #3786330

Customizations

Closed
Comments
8 Tickets 6
Matthew started the conversation 2 years ago on December 18, 2024 at 7:33pm

I am trying to add some customizations to the sidebar.php menu and class-salesking-public.php.  I saved them both to /wp-content/themes/Divi Child/salesking/.  But the customizations do not show up!!  What am I doing wrong?


I also tried to add the subfolders but that didn't work!

I switched themes to WP standard 2025, that didn't work!

8 Tickets 6
Matthew replied 2 years ago on December 20, 2024 at 1:36pm

Thanks for the reply.  I will upload the latest version of SalesKing you sent. 


Since I am using B2B King and Sales King, I was trying to set the Go to Sales Agent Dashboard to open in a new tab.  But if I can edit the sidebar.php in the child theme, I can create a link to back to main screen. 

Please take a look at my other posts.  I need some help getting the B2B King and Sales King working together. 


Thanks!

1
2,762
KingsPlugins replied 2 years ago on December 23, 2024 at 5:08am

To make the "go to sales agent dashboard" button open in a new tab, you can add this PHP snippet to your site (to functions.php or any code snippets plugin):

add_action('wp_head', function(){
	?>
	<script>
		jQuery(document).ready(function(){
			jQuery('.salesking_go_to_agent_dashboard').attr('target','_blank');
		});
	</script>
	<?php
});
2

Sign In