I noticed that on a single post, when i do not select a dynamic template, there’s a default template (actually, three, depending on the slideshow option i choose). This template has the comment box + social utilities.
If i choose to publish my post with a dynamic template, i notice there’s no way to include comments and social things on that page. Is there a way to have them showing?
The turn around would be to customize the three native .php templates in the theme, but then, i won’t have the standard box in the admin to pick from these… would threr be a way to bring it back?
One or the other solution could work for me! Both would rock!
Thanks in advance!
As far as I know there is no way to have comments while using a dynamic template. Posts also only really have a single “layout” but do have multiple gallery options.
Each of those options doesn’t have its own php file but are instead created with the framework slideshow class. When the single.php file is called it runs through the includes>loop-index.php loop which just checks to see if the post has a slideshow and what the setting was to display it.
The actual class is in includes>helper-slideshow and modifying it would then be modifying all instances of the slideshow.
Depending on what you are trying to do there are some other options but they are a bit limited. For instance, you could create different versions of the single.php file for categories but if you wanted to change the layout of the post body you would then need to create custom loops as well.
The topic ‘Native vs. Dynamic Templates : Comments and Social box’ is closed to new replies.