Trouble customizing single post templates

Posted in: Newspaper
Post count: 7

Greetings,

We have been running multiple sites using Newspaper and love it, but we are in the process of building out a new site in Newspaper version 9.7.3 and have noticed that the templates we depend upon to customize individual posts are not there. I can’t find the location to make customizations to specific post templates.

For example we used to modify “single_template_2.php” to add in custom support to turn on and off different elements on a post by post basis using Custom Fields.

Browsing all the files for this latest install I am unable to find any php files for the various post templates.

Any help would be greatly appreciated!

Post count: 20688

Hi,

Currently that is not possible in 9.7.3. After the 9.7 update most of the theme files were moved in the composer plugin – https://tagdiv.com/updating-the-core-of-tagdiv-themes/
The single files are now there – http://prntscr.com/ofn79q

We will however provide the same child theme capability despite the files being in the plugin, in the coming theme update. So in the next theme update the single files can be copied and customized in the child theme.

We are sorry for the inconvenience. Please let us know if you have more questions.

Thanks

Post count: 7

Hi Simon,

Thanks for getting back to me.

I’m extremely concerned and upset that this theme was allowed to release updates that included such a crippling and significant step backward in functionality. There are companies that have built entire lines of business around this product, and such big (negative) changes can have tragic results. We depend heavily on this, the most basic of theme functionality. To discover that it was overlooked is quite shocking. I’ve never encountered a theme that took away the ability to modify posts templates as part of an “update.”

I don’t want to go into specifics, but a large scale project that has been in development for months that was scheduled to launch this week was just completely derailed by this oversight. This is far more than an inconvenience.

We’ve already built multiple products around your theme, and so far we have loved it. But this significant change really bit us.

So the big question is what are our next steps?

We are not able to wait for future versions of the theme to address this oversight, as we need to release on time or risk significant losses.

We are not able to roll back to an older version of the theme, as that would set us back days and undo a lot of hard work, which we don’t have time for.

I don’t want to hack a custom solution that will prevent us from updating to future versions of the theme, since we need to keep it up to date for security reasons. So whatever we come up with ideally needs to be future-proof.

Here are our basic needs:

We need to be able to identify posts of a certain category, and then modify the post to do the following (based on Custom Fields values inside the post)

Enable/disable the following post elements:
Title, Date Display, Featured Image, Social Links, Related Posts. These can not just be toggled via CSS as we need to optimize load times.

We also need to inject unique custom html (which will contain meta data, CSS, javascript, tracking codes, pixels, etc) into each post for a specific category. This HTML is also sourced via Custom Fields values.

Without those abilities we can’t launch. This was something we could easily tackle in our other Newspaper theme installs.

I’m looking into using the “add_filter” method to process the posts to strip out HTML elements based on the Custom Fields values, but have yet to find a way to make this work. I’m also looking to do the same for injecting the HTML.

Further complicating things is the fact that we did not budget (from a time, resource, or financial perspective) adding additional development to this project, since we are basically re-instancing an existing product build.

I’m hoping you can help advise us here.

I do appreciate your feedback, and hope we can find a solution to this issue.

Thanks again!

Post count: 20688

Hi,

We are very sorry for this inconvenience, it was a decision made at the time in order to comply to the Envato specifications. Now we will improve the child theme support.

Please note that the theme update is in it’s final testing phase, when this is over it will be released. Should be this week, or early next week.

So it will be possible to customize the single templates in a child theme after this update, also header templates, footer templates, category templates etc. Hopefully you will then be able to achieve what is required for the website.

Please let me know if you have more questions.
Thanks

Post count: 7

What would the update process be for updating to this new theme when it comes out?

What would the process be to setup a child template, especially if the original templates don’t exist to clone as children?

Can I be notified the moment this is available, and is there a specific version number I’m looking for?

Again, at this point any amount of waiting is a real concern with significant costs associated, so we need to keep looking into alternative solutions. And I just want to reiterate (as you’ve mentioned it a second time) this is an order of magnitude beyond inconvenience. This blunder has cost us dearly, and continues to do so every hour we are delayed.

Is there someone I can talk to on the phone about this?

Thanks again.

Post count: 20688

Hi,

The update has been released. Please use the child theme provided in the 9.7.4 update and it should work fine – https://forum.tagdiv.com/the-child-theme-support-tutorial/

The post templates that you want to modify can now be copied in the child theme from the composer.
The single files are here in the composer – http://prntscr.com/ogmumy
They can be copied in the child theme (create the same directory path to them)
http://prntscr.com/ogmvii

As a note, if for example you want to modify post template 2, copy both the single_template_2.php adn the loop-single-2.php in the child theme.

Unfortunately we can’t provide support over the phone, only be forum or email. Let me know if you have more questions and sorry again for the inconvenience.

Post count: 7

Hi Simon,

I was hoping for phone support because having a 24 hour response time was growing concerning given that this issue has already resulted in what will be a one week delay in our product launch. At the scale we operate, one week of delay/down time for even a single product is a significant financial loss.

I’ve updated our theme and followed all steps and documentation provided, and we now have single_template_2.php working as it was before migrating to the previous “new” theme version.

Thanks again for your help on this. I’m glad we were able to get it resolved.

I just want it noted that I’m still very disappointed that this issue happened at all, and it has seriously shaken our confidence in tagDiv. Allowing a theme update to launch with a loss of such basic functionality was a massive oversight, as was not properly warning customers that upgrading or installing the new theme would mean losing or breaking existing features and functionality.

I’m also upset that the solution now relies on obfuscated legacy resources, and that this functionality is not incorporated cleanly into the product. The ability for a site owner to modify post templates is the most basic level of functionality expected of any theme. I understand that tagDiv is trying to simplify things for less technical users, but please keep in mind that your product is being used by companies who have come to depend on it and develop entire product lines around it. Such failings not only damage their relationship with tagDiv but have real consequences.

Please pass this along to tagDiv leadership.

Thanks again for the support.

Post count: 7

We did also encounter a serious issue during the theme update process. We followed the steps as listed: Change to other theme, delete old them, upload new theme, change back to new theme, and everything worked aside from widgets.

This process appears to have destroyed the widgets for the default sidebar and footer. Newspaper default, Footer 1, Footer 2, and Footer 3

Please find a way to allow updating the theme without losing all widget settings, as we have a lot of specific configurations in said widgets, and this will cost us a few more hours to clean up.

Post count: 20688

Hi,

Glad you can now achieve the desired results, using a child theme. We will try to improve the child theme capabilities in the future, where possible. Also if there will be future modifications to the theme structure, we will try to not let this affect the child theme functionality.

Regarding the widgets, please check in the inactive section – http://prntscr.com/oh6ez9
They could be moved there after a theme update, or when switching themes. They will remain configured, all that remains is to place them in their sidebars.

Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.