Support » Plugin: Show Current Template » Additional included template files not showing

  • Hi,

    I am using this plugin and the main Template relative path shows correctly e.g. single.php/page.php

    However, the additional included template files like header.php, footer.php is not showing in the plugin dropdown even though they are loaded.

    Theme boilerplate: Underscores
    Show Current Template: 0.4.3
    Wordpress : 5.6
    PHP: 7.3.5

    • This topic was modified 9 months, 3 weeks ago by dtplay.
Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author JOTAKI, Taisuke

    (@tai)

    Hello!

    1. Dose the issue reproduce with any other themes?
    2. Dose the issue reproduce when you stop all other plugins?

    Same here

    Plugin Author JOTAKI, Taisuke

    (@tai)

    @nowton

    Same question:

    1. Dose the issue reproduce with any other themes?
    2. Dose the issue reproduce when you stop all other plugins?

    Thread Starter dtplay

    (@dtplay)

    The issue occurs even after
    – All other plugins have been disabled
    – Different themes e.g. Twenty Nineteen,Twenty Twenty.etc

    01.jpg

    • This reply was modified 9 months, 3 weeks ago by dtplay.
    • This reply was modified 9 months, 3 weeks ago by dtplay.
    • This reply was modified 9 months, 3 weeks ago by Steve Stern (sterndata).
    Plugin Author JOTAKI, Taisuke

    (@tai)

    Hello @dtplay !

    Thank you for the info!

    That’s weird…

    Do you have another site?
    If so, does it happen on the site?

    I know it’s difficult but is it possible to give me the temp admin account of the site which has the issue?

    Thread Starter dtplay

    (@dtplay)

    hi @tai ,

    I’m just doing local development right now via Local by Flywheel.
    Is the plugin supposed to work on localhost too or only on deployed environments?

    Plugin Author JOTAKI, Taisuke

    (@tai)

    Hi @dtplay

    Yes, the plugin is supposed to work on localhost too.

    Hi,

    I just wanted to include that this issue is also affecting my site as well.

    Plugin Author JOTAKI, Taisuke

    (@tai)

    Hello @kkow !

    1. Dose the issue reproduce with any other themes?
    2. Dose the issue reproduce when you stop all other plugins?
    hyilmaz

    (@hyilmaz)

    Hi,

    I have the same issue here. I’m running this on a local server (Local /Flywheel).
    Show Current Template: 0.4.3
    Wordpress : 5.6.2
    PHP: 7.3.5
    Theme: _s (Underscores)

    The issue reproduces with any other theme as well (twenty twenty, twenty twentyone).
    I only have this plugin, no other plugin installed.

    The additional included template files like header.php, footer.php is not showing in the plugin dropdown even though they are loaded.

    Plugin Author JOTAKI, Taisuke

    (@tai)

    Hello @hyilmaz !

    Thank you for the report!

    If you have time, could you please check the following?

    1. Are you seeing any errors in your browser console?
    2. In the html source, can you find something like below?
    <ol id="included-files-fie-on-wp-footer"><li>themes/chile_test_theme/footer.php</li><li>themes/twentytwenty/template-parts/pagination.php</li></ol>

    Ger

    (@lindt01)

    Hi,

    Same problem. I am working with localhost, twenty-nineteen theme, no other plugins. No errors on developer tools console.

    Next html is seen in admin bar:

    <ul id=”included-files-list”>

    So there is an empty unnumbered list.

    Hope this helps.

    Cheers

    Ger

    (@lindt01)

    Sorry, there is a fault in the HTML I gave you. It is not complete. It should be:

    <ul id=”included-files-list”></ul>

    Kind regards

    Plugin Author JOTAKI, Taisuke

    (@tai)

    Hello, @lindt01 !

    Thank you for the information!

    How about the html source like below?
    Do you see it?

    <ol id="included-files-fie-on-wp-footer"><li>themes/chile_test_theme/footer.php</li><li>themes/twentytwenty/template-parts/pagination.php</li></ol>

    That is supposed to be around the bottom of the html source.

    Hi @tai,

    Thanks for your answer. I found this with developer tools in the HTML below the closing div of #page:

    <ol id="included-files-fie-on-wp-footer"></ol>

    So an empty ordered list and the css of #included-files-fie-on-wp-footer# says display:none

    The CSS comes from file: https://www.cd.dev.cc/wp-content/plugins/show-current-template/sass/style.scss

    Hope this helps.

    Cheers

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Additional included template files not showing’ is closed to new replies.