Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #993811
    jcampese
    Participant

    I 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/

    #993916
    Rahul
    Moderator

    Hello 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 / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #994136
    jcampese
    Participant

    Thank 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()) :

    #994157
    Rahul
    Moderator

    You’re welcome.

    Let us know if you need any further help.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-993811 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>