• Resolved le formateur

    (@le-formateur)


    Hello Nicolas,

    I have Customizr since May 2014 and it works very well without issue !

    very nice !!

    Now I would like to copy the single.php file and the content-single.php file but I don’t know where are they.

    Thank you for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Nic has used object-oriented class coding so you don’t necessarily find it in the same way as some other Themes.

    These files are found in customizr/inc/parts.

    But the recommended way to use them is using Actions, Filters and Hooks

    Maybe better if you explain what you’re trying to achieve?

    Thread Starter le formateur

    (@le-formateur)

    Hello rdellconsulting,

    Thank you for you answer. I will try to explain my aim :

    I have to copy/paste and modify those files in order to modify some lines of code. In details :

    1) I have to copy the single.php file and rename it in single-forum.php

    In single-forum.php I have some modification to do from this code :

    <?php get_template_part( 'content', 'single' ); ?>

    to this code :

    <?php get_template_part( 'content', 'forum' ); ?>

    and delete :

    <?php comments_template(); ?>

    and

    <?php (theme-name)_post_nav(); ?>

    2) I have to copy the content-single.php file and rename it in content-forum.php

    In content-forum.php I have to delete this code :

    <?php §single_metadata=... ; ?>

    3) I have to copy single-forum.php and content-single.php into customizr folder.

    Of course, I’m conscient and I understand that those lines may be different from a theme “Flat” to Customizr.

    Thank you for your help.

    Nope, Customizr is very different.

    What are you actually trying to do?

    Thread Starter le formateur

    (@le-formateur)

    Hi ElectricFeet,

    I would like to integrate the Cervidae Forum. But from the author, I have to make some modifications into single.php and content-single.php and it depends on the theme.
    Here a video (in french) :
    <a href="https://blog.adrienespel.fr/integrer-wp-cervidae-forum-sur-wordpress/"></a>
    Thank you for your help.

    There doesn’t seem to be much documentation to explain the plugin (and I don’t understand why the author hasn’t posted it on www.ads-software.com if it has a GPL2 licence).

    You could try asking on the author’s forum here, though it seems pretty dead. The github page seems to have been shut down.

    However, I suspect you may have layout problems of performance problems using the plugin. This is because it uses the Foundation framework for layout. Customizr, on the other hand, uses the Bootstrap 2.3.2 framework for its layout. So either they will conflict or they will be doubling the weight of the site by loading two frameworks at the same time.

    If I were you, I would do one of the following:
    – Use Cervidae Forum and switch to a theme that is based on the Foundation framework (although you might have problems with Foundation being loaded twice)
    – Use Cervidae Forum and switch to a theme with no underlying framework
    – Use bbpress, which is supported by Customizr, with Customizr.

    Thread Starter le formateur

    (@le-formateur)

    Wouah !

    Thank’s a lot for the quality of your reply ! It’s very clear.

    I would like to stay with Customizr, so… Hello bbpress ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘single.php and content-single.php ?’ is closed to new replies.