Search Results for 'child theme'

    No search results were found in Documentation!

Results from the Forum
Alin [tagDiv]
tagDiv Staff

Hi,

1. I have checked your article and did not found inline ad, please make sure you added the code properly, also you can try to increase the paragraph value and see if it appears. Or did you tested this and it doesn’t show up only when you set to appear after 1 paragraph? Please provide more details.

2. This is on our list and we will add an option to change mobile menu color in a future update. You can use custom css in Theme Panel to change the color – http://screencast.com/t/3zErUt27izvK

@media (max-width: 767px){
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: red !important;
}
}

3. The scroll up button was hidden for mobile devices, please try this custom css to display it – http://screencast.com/t/2ldIqR7y

@media (max-width: 767px) {
.td-scroll-up-visible {
display: block;
}
}

4. You can find the child theme in /code folder from package that you have downloaded from themeforest – http://screencast.com/t/oLV32AuSmeHhttps://forum.tagdiv.com/whats-included/
5. Please try this solution – https://forum.tagdiv.com/topic/related-article-box/
6. The theme supports Font Awesome 4 Menus just install the plugin then take the icon code – http://fortawesome.github.io/Font-Awesome/icons/ and paste it in Navigation Label – http://screencast.com/t/TKqYz6oH5 – http://screencast.com/t/oR2LdrWz

Thanks!

momo
tagDiv Member

Thanks. 🙂

Is there anyway i can implement a new one in a child theme? So i dont have to make the changes after each update?

m3mento
Participant
#0

hello I found some issue in the last update of newspaper theme, I write below:
1- I have problem with ADS -> article inline, I have the same old configuration, show after 1 paragraph, but the google ads don’t show: http://android.caotic.it/2015/06/samsung-galaxy-a5-ecco-le-proposte-di-postemobile-per-lo-smartphone-premium/
2- I select header default, but in mobile versione the header bar is black bg, how can I change the color?
3- in mobile versione the button that returns to the top of the page when you scroll does’t appears
4- in your package there isn’t the child theme, how can I create it?
5- How can I delete the “more from author” in related article section?
6- in the menu, don’t show correctly Home Icon menu…as in the old version
many thanks

Emil G
tagDiv Staff

Hi,

Delete or comment the following code – http://screencast.com/t/rsjtusd8
It can be modified from child-theme but it’s a bit complicated, you have to copy and modify the function which returns the categories – http://screencast.com/t/Fo4iKQYsqhttp://pastebin.com/ABERnLHL

Thank you!

yajones
tagDiv Member

OK thanks.

I hope there’s a way to change over from the main theme to the fixed child theme without losing functionality and changes made…

Radu
tagDiv Staff

Hi,

I’ve checked your link and it seems that it has an unclosed tag or something. Unfortunately there are scripts on the site that prevent right clicking and this is making the debug process very hard.

The ad can be moved after pagination only if you edit this file: http://screencast.com/t/4UQ6mGyGTQa
the loop file can be loaded from a child theme fore convenience. Also please make sure the you are editing the appropriate loop (each single template has it’s own loop).

Radu O/

Alin [tagDiv]
tagDiv Staff

Hi,

1. Please try this custom css in Theme Panel > Custom Css for homepage big grid – http://screencast.com/t/AHh1o5Rdovd

.home .td_block_big_grid_1 .td-grid-style-1 .td-module-thumb a:last-child:before {
background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,0.3)));
background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -o-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -ms-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
}

2. Check this custom css for Newsticker on homepage – http://screencast.com/t/nvVJdY36Y

@media (min-width: 768px) and (max-width: 1018px) {
.td-trending-now-wrapper {
padding-left: 14px !important;
}
}
@media (min-width: 1019px) {
.home .td-trending-now-wrapper {
padding-left: 23px !important;
}
}

3. Please provide more details as I’m not sure what you mean.
4. You can use custom css to remove it. This is the default padding added to all blocks, it is not individual added – http://screencast.com/t/o1uzxdxLA You can try to reduce it only on homepage using .home class and do this for each block as it may break the layout, you need custom work to do this for all blocks, sorry.
5. The author name on Big Grid can be hidden via custom css in Theme Panel > Custom Css – http://screencast.com/t/JItaPLaE8m

.td_block_big_grid_1 .td-big-grid-post .td-post-author-name {
display: none;
}

You can do this for each big grid just change the number of big grid that you use, for example – http://screencast.com/t/2NznmheJZR1

Thanks!

shubhra
Participant
#0

Hello All,

We need to add a conditional check in comments.php for comments_open or if a post type supports comments. I have a post type that doesn’t support comments but I can still see the comments form. Although I can make this change in the child theme, this should be part of the core by default.

if(td_util::get_option('tds_disable_comments_sidewide') == '' && comments_open() && post_type_supports( get_post_type(), 'comments' )) { ?>

simchris
tagDiv Member

Always delete/clear cache before updates.

Always delete old theme folder and child theme folder for new theme; upload new folders to completely replace old ones. Delete old plugins completely, install new folders. NEVER OVER-WRITE UPDATES.

Always clear cache after making changes to core files when they are working; otherwise you are loading mix of old/new from server and things break.

If you’re unable to do anything — try switching to default theme, try disabling all plugins entirely; try resetting the plugins folder (see my “how to move to new theme” for a best practice way to update/upgrade and recover from fail).

Only put stuff at end of your functions.php in MAIN folder, NOT child theme. Only add things you know what they are — most being self-evident. If site crashes when loading edited functions.php, then roll back to your backup. If site won’t recover from that, then it’s 100% a caching problem.

Often for testing via FTP, I do

a) all caching and mod_pagespeed disabled
b) rename functions.php to xfunctions.php
c) drag over new functions.php
d) test site
e) if site won’t load; via ftp with window still open, just rename xfunctions.php to functions.php and it replaces the bad functions.php — total time 20-30 seconds.

Not sure any of that helps, but maybe some pointers in some direction.

simchris
tagDiv Member

1. – it’s from your Jetpack stats tracking.
2. – no idea…
3. – ideally you should create a set of favicons for your site in all the modern formats, like Apple pre-composed sizes and not put anything in theme and let browser auto discover the favicon files in your public root
4. – NP6 is new theme; you may have to change some CSS over-rides for new theme!
5. – for best results for speed; don’t use child theme which is CSS redirect; and change any “main colors” in your main style.css and not the theme panel custom CSS box.

simchris
tagDiv Member

For those using Newspaper 6 you may want to use the “slim” version of my suggested functions.php tweaks. Note this goes at END of file; make sure you edit only in a plain text editor and NOT MS Word; make sure you turn your caching OFF before changing any major files like this. Always keep backup. With caching off, switching back is as simple as uploading your original. If on Linux, make sure your text editor saves a Linux/unix “line breaks” and not “PC/windows line breaks.”

/*CHRISTOPHER's CUSTOM MODS - slim version */

remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );

function no_errors_please(){
return 'You appear to be up to no good. Please stop now!';}
add_filter( 'login_errors', 'no_errors_please' );

function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
 $src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );

add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );

This is intended for those using the main theme, not a child theme; meaning you need to add this to the main functions.php in your main theme folder **NOT CHILD THEME FOLDER**.

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

Likely good time to talk to your hosting provider to check your “ownership permissions” for your setup of your account, folders, etc. — you can also do this via FTP. If you have a mis-match on who “owns” the files being uploaded via WP, if they are not in a publicly visible folder, they won’t load for the public.

I have seen odd things happen when WordPress installed from the hosting panel vs manual install, where some directories and upload folders end up “owned” by the server, or apache, or whatever and not the ftpuser.

You might also do a clean install of WP if your folders and permissions are just completely messed up; the theme doesn’t set write permissions on your WP setup.

You can can also try updating your permalinks; check your wp-config.php file for errors; try resetting your plugin folder by renaming it via FTP, etc.

Right now your style sheet isn’t even loading for your page.

Obviously you should have all caching, mod_pagespeed and similar things turned off. Use the main theme and not child theme, make sure you can even login properly, create new post, upload images, set featured images, upload file, check URL and make sure it can be loaded via browser alone, etc.

  • This reply was modified 11 years by simchris.
Emil G
tagDiv Staff

Hi,

The css issue may be caused by a plugin, try to disable all plugins except for Visual Composer and Bbpress and see if the issue is still there.
If you use a cdn or external cache disable it while testing.
If you use the child-theme switch to the main theme and see if the css is there.
Let me know if you find something.

Thank you!

yajones
tagDiv Member

Hey,

Alin… I just tried the main theme (disabling the child theme) and the issue is fixed. Thanks for the suggestion.

Now what do I need to do in order to use the child theme without this issue? Will you guys send a FIX for the child theme?

Thanks again.

Ben Iskander
Participant
#0

Hello,

we’re using the new td_category_template_8.php style for our category headers as we like the layout/styling, but for some reason it’s showing all categories in this area if the current category doesn’t have any children.

Is it possible to override this file in our child theme or add something to our functions.php file to stop the theme showing the category list?

Thanks, James

abhinav2899
tagDiv Member

I search the forum for this problem and it turns out this is because of big grid or big slide issue (specifically when using the child theme). In my case, switching to parent theme fixed it but it is only a temporary solution. Tagdiv team is already aware of it and they should fix it in the next update.

Alin [tagDiv]
tagDiv Staff

Hi,

We know about this error it will be fixed as soon as possible. Anyway this error doesn’t affect how Big grid is displayed in frontpage. Please make sure that you have disable css minifications and try only with Visual Composer active, you should not have this issue with 6.1 version of the theme. If you use child theme try also with the main theme and see if it works.
If you still have this issue please send an email at contact@tagdiv.com and provide wp-access so we can take a look and also paste a link to this topic so we can know who you are.

Thanks!

g00dnews
tagDiv Member

Hi,

We haven’t updated to 6 yet and there doesn’t seem to be anything in the child theme’s functions that enqueues the css.
It looks as though the parent theme is loading it.

Can you tell me where it’s hardcoded in the parent theme so I can modify it manually until we can update?

Thanks

walthamfrank
Participant
#0

I’m going to be moving my site – uses Newspaper – from one hosting setup to an entirely new server provided by another company. The domain will remain the same.

I notice that the theme ‘phones home’ or uses some sort of server specific ID code. Questions:

* Does this mean that the theme will fail when I try and run the site on the new server (having transferred it using Duplicator with settings retained) or
* Will it deactivate and then not reactivate or
* Will it deactivate and I’ll be able to reactivate it but it’ll ‘walk all over the changes I made in the Newspaper Child Theme

If so, given that I am maintaining my single license use (I’m not using it twice) how do I transfer the site and theme over

Many thanks

Frank

sociler
tagDiv Member

I have the same problem with Child Theme.

simchris
tagDiv Member

1) try disabling all plugins except visual composer
2) don’t use child theme; activate main theme
3) turn off/clear caching if using before doing anything; if using caching turn off all minification settings
4) turn off mod_pagespeed if using to clear caching
5) if using CDN server; you need to “retire/refresh” cache
6) if installing via FTP, make sure your FTP software set to automatically upload files properly (e.g., as text or binary depending on type of file)
7) make sure you have enough memory allocated; you may need to edit your wp-config.php file in your root WP folder to increase default memory from 40MB to at least 96MB (128MB recommended)
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

TRY #7 FIRST 🙂

wildmercury
tagDiv Member

See @batman post (https://forum.tagdiv.com/topic/big-grid-1-and-2-problems-on-newspaper-6-and-6-1/#post-55067) which pushes the priority of enqueuing of the theme style to the bottom of the pile. Copied here for those of you following this thread:

Open up the functions.php from the child theme and add 1000 priority to the wp_enqueue_scripts action:

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1000);

Hopefully the tagdiv team will plug this hole shortly.

WordPress Batman
tagDiv Member

Hello fellow crime fighters,

Open up the functions.php from the child theme and add 1000 priority to the wp_enqueue_scripts action:

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1000);

Sofian
tagDiv Member

I dont have those files … I have much less files in my /includes/wpbooster/

Also searching in explorer didnt show anything called like this?
Why do you have to many files in your wpbooster and I not?

And as it seems, you suggest a core hack. Will you change this in the next update by yourself to make the theme child-friendlier? Please make your theme child-friendly, since this is superimportant.

If not, is there also a solution to overwrite this function from within the child’s functions?

Viewing 25 results - 11,976 through 12,000 (of 12,866 total)