No search results were found in Documentation!
Hello,
I need to change the schema markup for the featured image of the post in child theme, could you please guide how to do this ?
Kind Regards,
SJ
Sorry but why dont you recommend using a child theme? How do you want us to do some customization or add new features without a child theme?
Need to clear your cache, both on server and in your web browser.
Basically your browser (and/or website) are loading the OLD CSS, which the new theme files don’t work with, so in effect no CSS loading.
Also remember you may need to update child theme also if using child theme (see changelog, depending on version you’re updating from). Try NOT using a child theme, unless you “must” do that for some oddball reason.
This is a normal caching problem, not an issue with theme, thankfully. 🙂
Hi,
a)i tried all things your listed options, except “you have to set a featured video”, nothing works.
I dont understand what is meant by “set a featured video”.
Do we have to set every single video imported to the site, to featured image? but this doesn’t make sense.
We use a video robot and it imports different videos from youtube etc.
The index page shows these different videos and they change hourly. In the hundreds.
But still after clicking on them it opens the page but there is no video.
I didn’t set up a single post page. We just installed the theme and child theme as in documentation,
and loaded the settings and demos. http://www.yougothype.com is our page. i hope this is the link you want.
Please help.
b)Infinite Load doesn’t seem to work on any page.
Again we followed the email steps you sent but they didn’t work.
Our settings:
In Visual Composer for Main Page/Index page:
Parent – Homepage Infinite Scroll
Template- Homepage Blank
Used Block 8
-multiple category filter(hollywood, rides, luxury)
-Random Posts
Limit Post Number-5 (this is set automatically)
Pagination – infinite load is set
(load more was also tried. this shows on page. but when clicked its shows load circle but nothing more is added or changed. so this doesn’t work either. FYI.)
But please help with the Infinite Load.
Without these the site is useless 🙁
best regards,
Bora
Hi,
I’m not sure why this happens. Please make sure that you have configured it right and use the instructions from this guide: https://forum.tagdiv.com/child-theme-documentation/
If it still not working please send your admin and FTP credentials via email at contact@tagdiv.com so we can have a closer look at this and also provide a link to this tread or specify your issue’s details.
Thanks
Hi,
You can make changes in the woocommerce template(in main theme woocomerce template is in root of the theme) if you copy template file in the root of child theme – http://screencast.com/t/OpogolXjAs
Thanks!
I have found it best just to work with main theme. I would only use child theme if you have other choice due to some odd internal company policy or something.
hey guys,
i have a very irritating issue.
at the beginning of my website i downloaded your files
included main theme and child theme.
so i uploaded them as zip file in wordpress.
afterwards i worked with the child theme to make some modification.
the issue:
when i go to themes menu in wordpress i got the error “no child theme exist”.
but im working with my child theme with ftp.
the child theme is activated etc.
but i have this error.
when i activate other standard theme or the main newspaper theme i cannot acticate the child theme again because of the “stylesheet not exist” error.
but i have a style.css
so could u help me by that error?
when i upload the fresh child theme again with zip file im loosing all my modifications and i must copy them in from backup. this is very irritating.
could u help me solving this problem?
or shell i work only on main theme?
thank you.
if u need access i can give it to you.
all the best
So YEAH!!! I did went back to original theme and cleared cache and that fixed my problem.
But I needed my modification back so I reapplied child theme but I started with blank STYLE, then copied and pasted few blocks at a time my modified css, just to make sure everything is normal.
Thank you guys for all your help!
-
This reply was modified 11 years by
newwalter.
Hi,
The URL is http://tinyurl.com/staging-demo
The theme all of a sudden is broken. WordPress is telling me that the ‘template is missing’.
I attempted to edit the style.css as you suggested and the theme broke.
Here are the steps I took.
1 – I logged into cpanel and navigated to the newsmag theme folder. Copied the Style.css and moved it over to the child theme folder.
2 – Navigated to the child theme folder and attempted to edit the style.css. My browser crashed.
3 – I attempted to edit the style.css file from within wordpress and wordpress gave me a message that the theme is broken.
What did I do wrong? How can I fix this?
Thanks
Hi Alin,
ok thanks for letting me know.
Is it possible to use the standard woocommerce template override’s though with the theme – i.e. putting them in a folder called woocommerce in my Newspaper child theme?
Thanks,
James
Hi,
@newwalter If you use child theme please switch to the main theme, clear cache and see if this solve the issue. If you don’t have this issue anymore please make sure that you use the same child theme version as the main theme.
If it still happens please send an email at contact@tagdiv.com and provide wp-access so we can take a look. Also paste a link to this conversation so we can know who you are.
@guytruong Please make sure that you also use the latest child theme version as I also checked this using child theme and couldn’t recreate this.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
It happened to me when using the Theme Child, I had to revert back using the main theme.
Hey!
the shim is still in beta, but I have it working on our two busiest sites and have had zero CPU issues since. (YAY!)
Basically, according to Radu the way it works with the latest VC is that you leave both VC active and the shim “recognizes” that and disables it, but you can still edit pages, supposedly.
In our case I did this:
a) left both VC and shim on server (I’m actually using the January version of VC from 1.6)
b) turn on shim, turn off VC
c) most home page stuff works perfectly; however a few odd elements may NOT work and so you have to choose NOT to use those (not the blocks/modules, or ticker; but couple of the oddball things…)
d) then I turn VC on if I need to edit something on home page; save; then disable VC again.
So, we have VC in plugins folder – otherwise you can’t edit your home page anymore (!). BUT, it’s completely disabled with shim running.
I don’t have “latest” shim version if there is one, mine is still BETA 1.02 … but that works! Yes, it’s still in BETA mode, which is why there isn’t a help item or sticky for that yet, I would imagine. And not everyone needs it; not sure if it works with child themes, as I don’t use those EVER.
Hope that helped.
==============
just downloaded from link, version says:
Version: 1.0 beta 2
-
This reply was modified 11 years by
simchris.
Thanks for your prompt reply.
Please bear with me here I’m still learning CSS. I have some questions.
Will this new code cause the image to appear above the title and excerpt, or will the image be side-by-side with the title? I’d prefer side-by-side.
Secondly, where exactly does this code need to be inserted? Do I go into the Theme Panel > Custom CSS > Your Custom CSS and paste it in? Or, does it need to be inserted into the stylesheet? And, does this go into the parent or child theme?
Thanks,
Hi,
As you can see it I made changes to the theme. Unfortunately, I did not use the childtheme. I don’t know how i can update the theme without loosing the change I made.
See http://www.awashpost.com/
Any advice?
Many thanks.
Hi, just some thoughts (kinda busy this week…),
– Is it suitable for you to have a direct conversion from 0-5 in 0.5 steps to 0-20? (0=>0, 0.5=>2, 1=>4,1.5=>6….) In this case you could only review even values on the 0-20 scale.
Then, you could add save_post action in your child theme and check whether a review exists, do the conversion, and store the result in a convenient way as a post_meta.
Please note td review meta is an array so if you want to extract the values from the database, you would have to do it with a php script or similar but, if you store your own meta value, then this value can already be a number, and this will be easier.
to summarize:
add_action ('save_post','test_save_post',10,3);
function test_save_post ($post_id, $post, $update )
{
if (isset ($_POST['td_review']) && isset ($_POST['td_review']['p_review_stars']) &&
count ($_POST['td_review']['p_review_stars'])){
$my_value = $_POST['td_review']['p_review_stars'][0]['rate']*4;
update_post_meta ($post_id,'my_review',$my_value);// got even 0-20 numbers in 'my_review' meta. select post_id,meta_value from wp_postmeta where meta_key = 'my_review'
}
}
If you check your meta table, you will see a new meta attached to the post with your review.
– No way, I need the odd numbers from 0 to 20. There are several alternatives here, some involving php code and other javascript code but it gets more difficult than previous approach. To avoid waste both your and my time, if you are interested, reply to this post and I will give you some hints.
regards
Hi,
You’re right, you can’t edit it using child theme however you can change it into the main theme if you really need it and modify theme’s review system and considering that the booster functions file is a core file it will be updated frequently so you would have to also constantly change it each update even if you use a child theme.
Thanks
Hi, I once dit it this way in the child theme:
//functions.php
add_action( 'after_setup_theme', 'my_change_metabox' );
function my_change_metabox ()
{
if (is_admin()) {
$my_td_metabox_theme_settings = new WPAlchemy_MetaBox(array(
'id' => 'td_post_theme_settings',
'title' => 'Post settings',
'types' => array('post','page','cpt'),
'priority' => 'high',
'template' => get_template_directory() . '/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php',
));
}
}
regards
I want to create a child theme which will allow the NewsMag Product Ratings to be entered in wp-admin on a points scale of 0 to 20 but displayed on the post page as a star rating between 0 and 5. The reason for this is that I want to be able to export the ratings data to another application which supports ratings on a scale of 0 to 20. I can’t see any easy way of doing this. td_set_reviews.php can’t be modified from a child theme because it is used from within td_templates_settings.php which is included from functions.php using require_once. So effectively the ratings functionality is not pluggable.
Is there any way around this?
Uh… that’s supposed to be “Child Theme-friendly way to apply this…”
Some suggestions
a) don’t use child theme, as it’s a redirect
b) ensure you have caching running on server like opcache, etc.
c) be sure to use normal WP optimizations (as per my own optimization sticky) — enough memory allocated to php, and upgrade default RAM for WP in wp-config.php -etc.
d) limit queries on post pages — meaning, avoid “most popular 7 days” kinds of things, try one query of “latest 5 stories” vs having three sidebar queries of 3 latest posts from 3 categories; try not using mega-menu to query dbase for story elements .. limit queries in footer
e) remove CSS over-rides in theme panel, move to style.css
f) consider using things like mod_pagespeed and or mod_SPDY if you serve all pages via https
g) turn off image thumbnail sizes you don’t actually use; plan layouts to limit total number of sizes for thumbs to no more than 5 or 3 if really going for speed
h) check server response time — which has nothing to do with theme and needs server to be optimized (our pages respond in 0.31 secs on avg., regardless of theme with only minor optimizations)
And of course look at some of the theme docs for suggestions from TagDiv on speed/performance.
Food for thought 🙂
-
This reply was modified 11 years by
simchris.
Hello!
We’ve purchased Newspaper 4 theme, but there is a small hiccup. After a year of operation site has become unbearably slow on relatively powerful hardware and with relatively modest load (70 concurrent users).
We have accumulated about 5 thousand articles most of which are in a single category, though we are using tags (which causes another funny side effect – thousands of cache update operations through terms_cache almost on each request).
Nevertheless, I have to give you a baseline. We’ve changed hardware over time in search of performance, so to be totally syre, we set up an empty virtual box (4GB TAM, 2 core CPU, 60GB SSD on DigitalOcean), simple LAMP server, a copy of our site and even then we were unable to get pageloads under a second (though all other plugins were enabled).
Next move was obvious and as follows (ensuring nothing beyond content, Newspaper theme and Visual Composer is present within installation):
a) Set up a new WordPress instance.
b) Populate content from production site (use wp-cli to update all links).
c) Add default Newspaper 4 theme and its default child theme, select latter as site theme.
d) Install visual composer (as recommended by theme).
d) Enable everything and set a few things up, so menus and category pages are as in production.
As a result all pages are being generated in approx. 1 second (1.09±0.13s; out of 100 measurements; page generation time), which is obviously not good enough, since under even moderate load and because of other plugins which are essential to site this time tends to grow.
What are your recommendations to gain significant performance improvements? Of course, enabling w3 total cache solves this problem for unauthenticated users, but we heavily rely on authenticated ones, so an advice would help.
Hi,
It shouldn’t if there aren’t any customizations made to the functions file trough child theme. You can test this by switching to the main theme and check if those VC elements are loaded within the VC page builder.
If you can’t figure this out please give wp-access so we can have a closer look at this and send your wp-admin login details via email at contact@tagdiv.com and also provide a link to this tread.
Thanks
Thanks, that did the job.
Didn’t work on child theme, I had to make the change on base theme.
Just a quick note, the site.js file didn’t exist on the js directory, instead I had to change the site.min.js located in js/min folder.
That info just if anyone is visiting this thread and cannot locate that specific file…
-
This reply was modified 11 years by
neakriti.