Search Results for 'child theme'

Results from the Forum
zagleft
tagDiv Member

I ended up loading the recently updated Newspaper7 theme as well as the included child theme via FTP and that did the trick. Thank you for addressing my question and providing me a solution.

chrisdesign
tagDiv Member

Dear Bogdan,

Thanks for the quick reply. That’s great.

Could you please let me know the easy way to change the theme name (NOT theme folder name)?
So it is easy to separate the theme (like: Newspaper-tor / Newspaper-tor-child / Newspapaer-van / Newspaper-van-child) under the theme select section in wp-admin page.

Currently they all show as “Newspaper” and “Newspaper-child

Thank you!
Chris

ntvweb
Participant
#0

is there a theme function to remove the share bar on the top of every post? Or to I have to copy a template to the child theme folder and remove code?

Thanks 🙂

Andrei L.
tagDiv Member

Hi

Do you have a backup with previous theme’s version? If so try to restore it then test the site again.
If you made customizations directly in main theme files they won’t be restored even if you install an older version. However if all customizations are in child theme and they conflicts with V 7.2 you can try an older version again. We can provide an older version via email so send us a message at contact@tagdiv.com and specify which version you need and we will send it as soon as possible.

Thanks!

Andrei L.
tagDiv Member

Hi

You just need to increase this value: http://screencast.com/t/VNOw2EFRskm
Yes you can edit that file n child theme and for more detail in this regard please check this link: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks!

Bogdan B.
tagDiv Staff

Hi,
If you use style.css in your child theme, then you have to replace it on every update as it;s a file that will be changed every time. Css does not have to be added in the child theme at all. You can use the theme panel for css customization: http://screencast.com/t/0zoq3rtLS
Please update your files form the child theme as it is not an update proof method of customization (there is no such thing)
Thank you!

Edward
Participant
#0

Sorry for my question in Newsmag forum: https://forum.tagdiv.com/topic/authors-boxwidgets-how-to-limit-the-authors-list/

I ask the question here.

Hi @Andrei L.

http://pastebin.com/XaLKJKvN

Note that by editing the indicated file author box will display only three authors on entire site.

1. How to change the code if I want to display ten (Top-10) authors (authors by post count)?

2. This file td_block_authors.php can i use in Child Theme?

Sorry for my poor English.

Thanks!

Bogdan B.
tagDiv Staff

Hi,
First, please understand that there is no update-proof way of customizing the theme files. If you have a child theme set-up and have customization in place there, then you will need to replace those files as well. If the file was changed in newspaper 7 and you are still feeding a file from newspaper 6 through the child theme, that could spell disaster on your site. Please make a back-up of your modifications, and update your child theme to the new files and then re-apply your customization. A child theme is not update proof.
Thank you!

adamneale
Participant
#0

Hi,

I have just upgraded to the 7.2 version. When it came to checking my website was all okay. I found that for some reason the Child Theme CSS was not working (despite being served) on my iPad in Portrait view.

Here is a screenshot from the iPad
http://pasteboard.co/8zDzkqPA2.png

And then here is a screenshot of the same media query on Firefox responsive design view.
http://pasteboard.co/8zEn1GXnz.png

Has something changed in the new style.css that would be effecting my website on iPad portrait?

Thank you

Edward
tagDiv Member

Hi Andrei

http://pastebin.com/XaLKJKvN

Note that by editing the indicated file author box will display only three authors on entire site.

How to change the code if I want to display ten (Top-10) authors (authors by post count)?

This file td_block_authors.php can i use in Child Theme?

Sorry for my poor English.

Thanks!

Glitched
Participant
#0

Hello Team,

After updating to the new Newspaper theme, I have noticed that the customisations on my site have changed.
I am not ssure how this has happened as I create a child theme to run independently.

Where the block sizes etc changed?

Is there a way that I can restore to the older version of Newspaper that I had so I can restore my customisations?

Site: http://www.glitched.co.uk

Please let me know!
Thanks,

Andrei L.
tagDiv Member

Hi

I’ve checked your site and noticed that you’re using child theme. Try to deactivate it, clear all caches then test again. The issue is caused because the order in which the css resources are loaded on the page was changed a bit.

Let us know how it goes.
Thanks!

Bogdan B.
tagDiv Staff

Hi,
This means the update was not done properly. Maybe you did not copy all of the files or in the right path. If you have any custom modification, make a back-up of it and do a clean update by following this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/ and test the theme without modifications and without a child theme.
Thank you!

Andrei L.
tagDiv Member

Hi

I’ve checked both your sites and mobile menus works fine now: http://screencast.com/t/qzKK6tOGa0mdhttp://screencast.com/t/7jZ5h2yx However I’ve found some js errors in browser’s console which may affect theme’s functionality: http://screencast.com/t/nn4lz9tekA7r Try top deactivate all plugin except Visual Composer, deactivate the child theme, clear all caches, then test the site again.
Also if you still have the issues with mobile menu please provide more specific detail about them so we can duplicate the situation on our site and get back to you with a more accurate answer.

Thanks!

JBlakeOne
tagDiv Member

Hi,

I’ve tried your suggestions. I also confirmed that the server requirements are met. In addition, I switched to the main theme (instead of the child one) leaving the theme with its default style.

As my website struggles to stay online using caching, I downloaded it to my development server (no external visits) for more testing and I noticed strange behavior regarding images. I deleted my homepage latest post images only from the filesystem which (as excepted) results in many 404 errors. Then my development server had high CPU usage. I switched to my previous theme and the load is gone. I tried the same experiment when navigating to Admin > Media. When Newspaper was active, I had high CPU load while my browser was trying fetching the deleted files. When switching back to my previous theme, the load was gone and the Media screen loaded instantly. It seems very strange. Browser directly hits Apache requesting static files which normally is the same regardless of the theme used. How this different behavior could be possible when switching themes?

Thanks!

chrisdesign
Participant
#0

Hi Guys,

May I know if I can duplicate the Newspaper theme under one domain.

Such as:
Newspapaer-tor (Newspaper-tor-child)
Newspaper-van (Newspaper-van-child)

The reason for this is because we want to setup 2 different layouts for user to choice (like to select the city then show different layout)

Thank you!
Chris

Andrei L.
tagDiv Member

Hi

No this it won’t be a solution because the file loaded on the site will be the same, that parameter is just a name. Try to deactivate the child theme then test the site again and check how it goes.
Let us know how it goes and if the problem persist please send us an email at contact@tagdiv.com with your login credentials and we will inspect this issue as soon as possible, also include a link to this topic.

Thanks!

Bogdan B.
tagDiv Staff

Hi,
We are not aware of such changes being made to the theme files. Speedbooster does not add or remove code from the theme files. Please use ftp and not the wordpress editor as the editor is unstable and could mess things up. Please also update your child theme and use the one provided in the main theme package.
Our theme does not re-write it’s own code and speed booster is not capable of doing that.
Please do a clean theme install via ftp: https://forum.tagdiv.com/install-via-ftp/ (replace all files, not just particular ones) then test again.
Let us know if you still have issues with this.
Thank you!

daimpa
tagDiv Member

I’m sorry but I don’t get your reply, do you mean that I can only wait that the css cache expries on users’ browser?

To be clear, my problem now is that some users see the theme like this (screen taken from another website here, perfectly showing my issue).
Again, not using any CDN or cache plugin.

What if I make the following change to the functions php files in the child theme?… I mean, change 2.0c to 3.0…. Please note that this is my full functions.php in the child theme.

NOW

<?php
/*  ----------------------------------------------------------------------------
    Newsmag 2.0 Child theme - Please do not use this child theme with older versions of Newsmag Theme

    What can be overwritten via the child theme:
		- please read the child theme documentation https://forum.tagdiv.com/the-child-theme-support-tutorial/

 */

/*  ----------------------------------------------------------------------------
    Here we add the parent style and the style.css from the child theme folder
 */
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1000);
function theme_enqueue_styles() {
    wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', '2.0c', 'all' );
    wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '2.0c', 'all' );

}

NEW

<?php
/*  ----------------------------------------------------------------------------
    Newsmag 2.0 Child theme - Please do not use this child theme with older versions of Newsmag Theme

    What can be overwritten via the child theme:
		- please read the child theme documentation https://forum.tagdiv.com/the-child-theme-support-tutorial/

 */

/*  ----------------------------------------------------------------------------
    Here we add the parent style and the style.css from the child theme folder
 */
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1000);
function theme_enqueue_styles() {
    wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', '3.0', 'all' );
    wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '3.0', 'all' );

}

Could this solve my problem?

  • This reply was modified 10 years by daimpa.
  • This reply was modified 10 years by daimpa.
Andrei L.
tagDiv Member

Hi

That happens because you’re using child theme. When child theme is used the link to style css changes but the does not affect the pages if you don’t have customizations which breaks the page.

Thanks!

zagleft
Participant
#0

First, would like to say I really have enjoyed working with the Newspaper7 theme and the excellent documentation and forum.
I have recently migrated my site to a new hosting site and have been working to optimize it. I did implement TD_Speed Booster plug and started to do some testing activating the plugin and deactivating it (about 5 times) as was looking at speed gains on different tracking sites. One time when I went to deactivate Speed Booster I noticed there were two instances of the Speed Booster plugin on the plugin page, one activated and one not. At this point I decided to delete SpeedBooster and just focus cleaning up my code a bit before using Speed Booster.
When I went to edit my header.php file by downloading it to my computer, I opened up the header.php file and the content of the file are as follows:

> itemscope=”itemscope” itemtype=”://schema.org/WebPage”>

Header area * the template files are located in ../parts/header */ td_api_header_style::_helper_show_header(); do_action(‘td_wp_booster_after_header’); //used by unique articles

When I downloaded opened other theme files the content of the files were replaced with something similar.

When I open the files in WP Admin Editor the files look normal but when I try to update the files using the Editor, when I click Update File, the browser opens my main page and no change is made.

I have gone through my site files to make sure td_wp_booster files have been removed, and they have.

I have activated my site with the Twenty Sixteen theme and downloaded those theme files and they were normal so it was not my new hosting site. I also deleted and reinstalled the Newspaper7 but had the same issue. I am using a child theme for Newspaper but have not deleted that yet.
I have deactivated all off my plugins and the issue still exists.

Looking for any guidance on how I can address this issue.

Thanks in advanced.
EJ

FSborz
tagDiv Member

Hi,

I’m still not so sure how to do it, the thing is that I’m new on it.
I’ve found some tutorials of how to implement facebook comments without using a wordpress plugin. The step by step was very clearly, but the thing I’m in doubt is about this path showed in (appearance>editor>comments.php):

<?php

// – Important!
// – For overwriting comments’ functionality in child-theme, copy the file ‘comments.php’ from the
// following theme path (../themes/THEME_NAME/includes/wp_booster/comments.php) to the child-theme root path,
// and NOT this comments.php file you are reading from.

require_once(‘includes/wp_booster/comments.php’);

Where do I paste de FACEBOOK COMMENTS CODE?
Which folder, place…

Thank you very much!

daimpa
Participant
#0

Hello, I’ve upgraded the theme to version 3.0, but the CSS version loaded is still 2.0c. If I clear the cache the site works fine, so I think that everything has been upgraded correctly. The problem is that not all users know how to clear the cache… Why these lines shows 2.0 instead of 3.0? I’ve sent you via email the URL of my website.

I’m not using any cache plugin on wordpress.

<link rel=’stylesheet’ id=’td-theme-css’ href=mysite.com/wp-content/themes/Newsmag/style.css?ver=2.0c’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’td-theme-child-css’ href=’mysite.com/wp-content/themes/Newsmag-child/style.css?ver=2.0c’ type=’text/css’ media=’all’ />

Elodie
tagDiv Member

Sorry just found your child theme files in the code folder and it fixed the issue!

Bogdan B.
tagDiv Staff

Hi,
Please use wp super cache as it;s the recommended caching plugin to use with our theme. Then disable the child theme and use the theme panel for css modifications: http://screencast.com/t/LSt5aXS9
you can also check the system status parameters here: http://screencast.com/t/vkBw4jGU and make sure you increase them according to this guide: https://forum.tagdiv.com/system-status-parameters-guide/
Let us know if you still have trouble afterwards.
Thank you!

Viewing 25 results - 10,826 through 10,850 (of 12,866 total)