Tagged: x
-
AuthorPosts
-
May 16, 2016 at 10:48 am #993811
jcampeseParticipantI would like the dock to show on all pages not just post. I modified my code to:
//Shows on all pages if ( true ) :But it still only shows on the posts page. Can you please help?
https://blog.andersonadvisors.com/May 16, 2016 at 11:47 am #993916
RahulModeratorHello There,
Please try edit also the file \wp-content\plugins\x-content-dock\functions\enqueue\styles.php and replace the code in line 23:
if ( isset( $x_video_lock_enable ) && $x_video_lock_enable == 1 ) :replace it with:
if ( true ) :If nothing else works, would you please provide us the url and access information of your site so we can take a closer look. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 16, 2016 at 1:42 pm #994136
jcampeseParticipantThank you, I found a similar post and modified it.
#1 Connect through FTP connection, Go to the folder /wp-content/plugins/x-content-dock/views/site/, open the file content-dock.php in a text editor and replace the following line of code (probably line #26):
if ( is_page( $x_content_dock_entries_include ) || is_single( $x_content_dock_entries_include ) ) :With following:
if ( is_page( $x_content_dock_entries_include ) || is_single( $x_content_dock_entries_include ) || is_home() || is_archive() ) :#2 Go to the folder /wp-content/plugins/x-content-dock/functions/enqueue/, open the file styles.php in a text editor and replace the following line of code (probably line #25):
if ( is_page( $x_content_dock_entries_include ) || is_single( $x_content_dock_entries_include ) ) :With following :
if ( is_page( $x_content_dock_entries_include ) || is_single( $x_content_dock_entries_include ) || is_home() || is_archive()) :May 16, 2016 at 1:55 pm #994157
RahulModeratorYou’re welcome.
Let us know if you need any further help.
Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-993811 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
