Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
morebusiness
tagDiv Member

Works for me with Newspaper version 8.7.5.

morebusiness
tagDiv Member

Also, for some reason, after I added those symlinks, the file wp-content/plugins/td-composer/includes/templates/td-multipurpose.php was overwritten with a different version that changed how references to the icons were made.

Why does Newspaper8 (and its plugins) modify its own code? That seems a bit suspect to me.

morebusiness
tagDiv Member

You need to update your td-composer to the version that came with Newspaper 8.7.5, “2.3 | built on 23.05.2018 10:03”

morebusiness
tagDiv Member

I ended up creating a child theme just to make a template for my custom post type. The post type used by EDD is “download” so I created the template single-download.php and a corresponding loop-download.php with my tweaks. I based them on single.php and loop-single.php respectively.

morebusiness
tagDiv Member

My site sits behind Cloudflare as well. The style sheet does *not* minify completely with their auto-minify option. Very early into the file, cloudflare detects some kind of error and stops minifying. Their tech support says that they stop once they detect any form of error and suggest running the file through a validator. I do not know what “level” of CSS to validate against for their minifier to work, but I haven’t found a validator setting that likes the style.css file.

You can see it failing at https://www.morebusiness.com/wp-content/themes/Newspaper/style.css?ver=8.6

The first screen or two are minified, then it reverts back to the original.

In any case, I have successfully used https://css.github.io/csso/csso.html to minify it. I have my child theme load the minified version directly rather than overwriting the original.

morebusiness
tagDiv Member

For the record to help future visitors here: the issue with my configuration is that the child theme of Newspaper *must* be named Newspaper-child for this plugin to work when you are using a child theme.

morebusiness
tagDiv Member

I am having this exact same error, with the addition of the following in the PHP error log:

PHP Fatal error: Uncaught Error: Class 'tds_api' not found in /home/morebusi/public_html/morebusiness.com/wp-content/plugins/td-multi-purpose/td_panel_settings.php:22
Stack trace:
#0 /home/morebusi/public_html/morebusiness.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php(139): require_once()
#1 /home/morebusi/public_html/morebusiness.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/td_view_panel.php(3): td_panel_core::render_panel(Array, 'theme_panel')
#2 /home/morebusi/public_html/morebusiness.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/td_panel.php(103): include('/home/morebusi/...')
#3 /home/morebusi/public_html/morebusiness.com/wp-includes/class-wp-hook.php(286): td_panel->td_theme_panel('')
#4 /home/morebusi/public_html/morebusiness.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /home/morebusi/public_html/morebusiness.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /home/morebusi/public_html in /home/morebusi/public_html/morebusiness.com/wp-content/plugins/td-multi-purpose/td_panel_settings.php on line 22

I went ahead and upgraded Newspaper from 8.5 to 8.6, and re-installed td-composer, td-social-counter, and td-multi-purpose plugins, all by deleting the old ones and installing the new ones, to ensure no leftover files. I have no other td plugins installed.

I flushed the CDN caches and the browser caches and the local wordpress page cache. The error persists.

I added the following line to the top of the td_panel_settings.php file and the error went away on that page:

require_once( 'styles/tds_api.php' );

Unfortunately, a new error shows in the “font settings” tab of that page:

Warning: Invalid argument supplied for foreach() in /home/morebusi/public_html/morebusiness.com/wp-content/plugins/td-multi-purpose/panel/td_panel_fonts.php on line 7

Also, the components still do not show up in the editor as far as I can see.

Any help will be appreciated.

morebusiness
tagDiv Member

I’ve upgraded to Newspaper 8.5 and installed the landing page elements plugin. However, none of the new elements are showing up in tagdiv composer when I edit a page. How to fix?

morebusiness
tagDiv Member

That is not my experience. I need to explicitly turn off that setting for the post type ‘download’ or the more articles slider comes in as I scroll the page.

So my question stands: is there some official way to locally suppress a global setting from my template like the update_temp() function does, or is the only official way to copy and edit the more articles PHP file in my child theme?

I would request that the deprecated status of the update_temp() be lifted, and it be kept as official for such purposes. It is much simpler in this case.

Thanks!

morebusiness
tagDiv Member

I’d like to add my vote for this. It will allow download products from EDD to get their own default template.

morebusiness
tagDiv Member

Thank you for posting your fix. This really helped me!

Viewing 11 posts - 1 through 11 (of 11 total)