Hello,
Thank you for the wonderful theme. Can you please help with several questions:
1. Unfortunately social counter doesn’t work. Here is how it looks like https://gyazo.com/d3a5e93c412ea8c92faa87dbf18f1985 Everything was adjusted according to the provided instructions. You may see the it here http://freesmi.by/ on the right sidebar
2. Can you please let me know how to add vk.com share buttom?
3. What is a proper way of adding code to functions.php file in the child theme? When I simply add code here https://gyazo.com/c829207705804e51f76ee0dde7401ca9 nothing happens. The changes apply only when I make them in functions.php file placed in the mother folder (not child).
4. What is the proper way of using child theme? I made the following steps:
• I copied the child folder from here Themes\Newspaper-tf\code\Newspaper-child
• Pasted it to here /wp-content/themes/
• Then I opened functions.php file in the child theme and tried to make some additions, but nothing happened. I added the code here https://gyazo.com/100ac1b006855c8be7d7c14091e82559 But the code didn’t work. It worked only when I added it to the functions.php file in the mother folder of the theme
• So can you please advise what is the proper way of making corrections to functions.php file in the child theme? Did I do something wrong? Why it didn’t work?
5. Do you know any alternatives to CloudFlare Flexible SSL as it is not compitable with Speed Booster?
6. how to make the featured image cropped? For example instead of this – https://gyazo.com/72458b385e0f89a9d421657059e66e06 When the image takes almost all the screen, I would like to have all featured images cropped with specific size for example like here – https://gyazo.com/4abb6b786495c59078ab81851559cbeb – when the image smartly cropped and looks amazing. Is it something possible to featured images?
Thanks,
Denis.
Please find below some more questions appeared:
7. how to make different posts appear on my home page. For example I have this news here https://gyazo.com/8557fb8593799d54827f59151b5fb5bc and here https://gyazo.com/02fe62d61654e8dc8d7347a42ec67ed7
8. Cache plugins. I have removed W3 Total Cache plugin according to your recommendations mentioned in the guide. I also noticed that you mentioned APC full page cache plugin. Can I use it with WP Super Cache or I should choose one of them? Which is better for me? I have 16gb of ram.
9. I didn’t get that suggestion “make sure that you have compression enabled on your site for html/js/css but not for images”. Where do I set that kind of compression? Do you mean Auto Minify in cloudflare – https://gyazo.com/771065c3f158d4b113b94c5e5f5e3e37 or something else?
10. Regarding images optimization. Is it possible to use both this plugin and the code you suggested to add in functions.php
11. Regarding speed booster. I put the code here https://gyazo.com/8805d3fabc08aee2e537cb2322079694 Then I cleaned the cache. But it seems that google still shows those files as the ones which are required to be moved https://gyazo.com/4280bc2806be16e44db9535633617d92
12. How do I make this right sidebar move https://gyazo.com/e93ac903b465c434f834cf4a95d40de7 It is placed on my home page freesmi.by on the right part of the page
13. How do I make author’s page disappear completly http://freesmi.by/author/dubovik ?
Hi,
1) Please update the social counter by disabling the one you have now and deleting files and installing the new plugin version which comes with the latest theme version. You must have social counter version 4.0 for it to work properly
2) There is no official soulution for adding new social icons but you can try to replicate this method for adding a new social share option: https://forum.tagdiv.com/topic/add-a-linkedin-button/
3) The name of the file must be the same as the one in the main theme. your file is named functions2/.php
4) Same as 3
5) There are lots of plugins not compatible with speedbooster that people use. We have no alternative to provide but there is this workaround: https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
6) The cropping of the featured images is different for all post styles you use. There are a total of 14 post templates to chose from: https://forum.tagdiv.com/post-templates-2/
7) The homepage is the most customizable area of our theme. You chose from a total of 25 content blocks: http://demo.tagdiv.com/newspaper/block-1/ and 12 big grids: http://demo.tagdiv.com/newspaper/big-grid-1/ among other elements.
Please read the documentation here: https://forum.tagdiv.com/newspaper-theme-documentation/
8) APC is different from a caching plugin and it is compatible with sp super cache APC is a cache for PHP: http://www.inmotionhosting.com/support/website/what-is/speed-up-php-with-apc
9) Please contact your hosting provider and make sure compression is allowed/enabled from the server side.
10) Those are alternative methods. Use one or the other, not both
11) Speedbooster is for advanced users only. You placed the js inside the style css part. Please read it again and check the screenshots to see where to places css and where to place js blocks.
12) For a smart sidebar please read this guide: https://forum.tagdiv.com/smart-sidebar-2/
13) You can use a redirect to send the user elsewere if he clicks the author name: http://www.wpbeginner.com/beginners-guide/beginners-guide-to-creating-redirects-in-wordpress/
Thanks
1. thanks
2. Is there any chance you may consider adding vk.com share buttom in future? It would also be great if you could add a sharing possibility on the pictures.
3 and 4. It is named in the same way. So again. These are the steps that I do:
step 1. I open functions.php in the child folder https://gyazo.com/fea2016a1f0673e2b4633e1de3acb0a8
step 2. I add the code in the end of the file https://gyazo.com/d3ac607eb8cca0ca871b36e3305e97c8
step 3. nothing happens
If I add the same code in functions.php which is placed in codebase folder — everything works properly. So the question remains — what have I done wrong? The names of the files are the same in both folders child and codebase.
5. Is there any chance speed booster will be combitable with this plugin in future https://wordpress.org/plugins/cloudflare-flexible-ssl/ ? But thanks for the instructions. Now speed booster is active
6. It seems I asked the question improperly. I know that there is different crop options in different template. I meant – can you please let me know how to set different crop size to featured image in Default post template?
7. Sorry. It seems I wasn’t clear with my question at all. Let me build my question in a different way. The issue is the following, let’s say I have the article about Obama. And I set it to 3 different sections – I made the post featured + I put in Politics category and World category. It means that the article about Obama will appear on the home page 3 times. First time in the section with Featured posts. Second time in the section with Politics. Third time in section with World news. The question is how to avoid duplicating posts on the home page when the post is placed in different categories?
8. thanks. My hosting provided that he installed xcache on the server. Is it ok or it is better to ask him remove it and install APC for better performance of Newspaper theme?
9. compression is allowed at the hosting, but he told be that it is not enabled as CLoudFLare do gzip compression by default. Should I ask him to enable additional gzip compression at the server or the compression provided by CF is enough?
10. thanks
11. thanks. It helped for most of the files, accept three files:
• jquer
• jquery-migrate
• wpgeo
Google still detects them. Do you know how to fix this? This time I pasted the code in the correct place
https://gyazo.com/a509970a21bc4868f0cf41ffc1d8ca1a
https://gyazo.com/5704d7eff52baceb35e23fa76814614d
12. thanks
13. thanks
14. In my previous theme I added the following code in order to have custom tags.
<?php add_action( 'init', 'videogames', 0 ); //exit;
function videogames() {
register_taxonomy( 'lydi', 'post', array( 'hierarchical' => false, 'label' => 'Люди', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'temi', 'post', array( 'hierarchical' => false, 'label' => 'Темы', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'strani', 'post', array( 'hierarchical' => false, 'label' => 'Страны', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'istochniki', 'post', array( 'hierarchical' => false, 'label' => 'Зарубежные источники', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'organizacii', 'post', array( 'hierarchical' => false, 'label' => 'Организации', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'regiony', 'post', array( 'hierarchical' => false, 'label' => 'Регионы', 'query_var' => true, 'rewrite' => true ) );
}
That code added tags like country, people etc. So, for 5 years I gathered hundred of thousands tags in those taxonomies. After I switched to Newspaper theme — those taxomonies disappeared off course as I don’t have the code in functions.php When I tried added that code the site completly stopped working. Can you please advise how can I return those taxonomies I gathered for 5 years to Newspaper theme?
15. How do I make the space between those two widgets smaller https://gyazo.com/17cba5179d388bc950f99bbc90a9ae60 ?
16. How do I remove “More from author” part of the page https://gyazo.com/62efaaf2cfbe18a73f82b6aaf00a7f49 and remain only “Related articles”. I tried this code .td-related-title .td-related-right { display: none; } but it didn’t help — http://freesmi.by/katastrofy/230815
Hello mc_kot,
2)At the moment, the single way to change it is how I presented you above. In a future update, it is possible but we cannot say for sure if it will get done in the next update because it is not a simple task and also, we have a big list of fixes, improvements, and suggestions to implement. It’s hard to filter them and select which one gets implemented now and which one gets postponed. The developers will decide if it gets done or not, though.
3,4)All the information regarding on child theme support will find int this tutorial, like this -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please notice that this is not a simple task and is addressed only for advanced users. If you are not aware of the steps which you need to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment and your request is not covered by our support because involve customization services, sorry!
5)Please notice that the speed booster is an optional plugin and it is tested only with these plugins – http://screencast.com/t/hcjLnOqh4i2 and if you use other plugins it will be automatically disabled. A lot of people install the plugin without knowing what it does and after that they add many plugins and some of the them are not written fine so the developer took this decision. If you want to always enable speed booster, delete this code from speed booster file: http://screencast.com/t/RZLIOPUNdqh Also, for more information about our speed booster plugin, please check our tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
6)Please notice that the cropping system for our theme is the same for all featured image and this will crop the image from center to top. Please notice that you cannot change very easy this system and if you want this, please notice that is not a simple task and involve custom work. If you want to better understand this process, please check this topic here -> https://forum.tagdiv.com/topic/resize-thumbnails-to-proper-size/
7)Please try to use the offset option for your each block or unique articles for your home page to avoid the twice posts. For more information about this, please check our documentation here -> https://forum.tagdiv.com/offset-feature/ -> https://forum.tagdiv.com/unique-articles/
8)
Hello mc_kot,
2)At the moment, the single way to change it is how I presented you above. In a future update, it is possible but we cannot say for sure if it will get done in the next update because it is not a simple task and also, we have a big list of fixes, improvements, and suggestions to implement. It’s hard to filter them and select which one gets implemented now and which one gets postponed. The developers will decide if it gets done or not, though.
3,4)All the information regarding on child theme support will find int this tutorial, like this -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please notice that this is not a simple task and is addressed only for advanced users. If you are not aware of the steps which you need to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment and your request is not covered by our support because involve customization services, sorry!
5)Please notice that the speed booster is an optional plugin and it is tested only with these plugins – http://screencast.com/t/hcjLnOqh4i2 and if you use other plugins it will be automatically disabled. A lot of people install the plugin without knowing what it does and after that they add many plugins and some of the them are not written fine so the developer took this decision. If you want to always enable speed booster, delete this code from speed booster file: http://screencast.com/t/RZLIOPUNdqh Also, for more information about our speed booster plugin, please check our tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
6)Please notice that the cropping system for our theme is the same for all featured image and this will crop the image from center to top. Please notice that you cannot change very easy this system and if you want this, please notice that is not a simple task and involve custom work. If you want to better understand this process, please check this topic here -> https://forum.tagdiv.com/topic/resize-thumbnails-to-proper-size/
7)Please try to use the offset option for your each block or unique articles for your home page to avoid the twice posts. For more information about this, please check our documentation here -> https://forum.tagdiv.com/offset-feature/ -> https://forum.tagdiv.com/unique-articles/
8)Please notice that we do not have tested the xcache for server and we have no idea about theme behaviour with.Please notice that you will have to follow the advice from my colleague Bogdan which were given above. For more information about server requirements for our theme, please check here ->
https://forum.tagdiv.com/requirements-for-newspaper/
9)Please notice that these types of settings are not covered by our support because these still depend on only of your hosting provider. The setup is different from one server to another so you may have to look on your host instructions section to see how you can enable it on your site. For more information about this compression please check here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
11,14)Unfortunately, these requests involve custom services and at the moment we are unavailable to provide these type of services, sorry! If you are not aware of the steps which you need to take in this regard, please consider hiring a freelancer/developer to help you.
15)Please try the code below ->>
.td_block_social_counter {
padding-bottom:0!important;
}
16) Try your code with the !important tag. Please try the code below.
.td-related-title .td-related-right {
display: none!important;
}
17)Unfortunately, this is not possible for the sidebar, sorry! This is the default behaviour of the theme and you cannot change it very easy because it is necessary to do some additional customization that involves custom work. For more information about our sidebars, please check here -> https://forum.tagdiv.com/sidebars-tutorial/
Thank you for your understanding.
3,4) It seems we have some miscommunication here. I do not ask for customization. The only thing I ask is an explanation of what I have done wrong. I did everything according to your instructions (the steps I did are described above). The only question I have is what I did wrong and what steps were made not according to the instructions? I have already used child themes on 4 other sites I have with 4 other themes. So I have never experienced any issues in it. At other themes it works perfectly. I have read the documentation you provided several times and I did everything according to the manual, but it still doesn’t work. Really hope for your advise.
5. Thanks. Sorry for not being clear. The speed booster is already active. The questions is not how to make it work, but if there any chances speed booster will be combitable with this plugin in future https://wordpress.org/plugins/cloudflare-flexible-ssl/ I will highly appriciate if you could consider that possibility for your future updates.
6. Thanks. I do understand that it is not an easy task. If it was an easy task I wouldn’t have asked you about it 🙂 So the question remains — can you please let me know how to set different crop size to featured image in Default post template? It would be really really really helpful if you could advise on the point.
7. Cool!
8. thanks
9. I do understand that. The reason I’m raising this questions is because it seems in your manual there is a discrepancy. So I decided to help you. You mentioned in the manual that we should use CloudFlare, but in the same time you mentioned that gzip compression is required. So if gzip compression is enaebled at CloudFlare by default, probably it would be helpful for the rest of the users if you mention that they do not need to enable gzip compression at the server when they are connected to Cloudflare, as otherwise two gzip compressions will be enabled: at CLoudflare (which is turned on by default) + at their own server. That is the only reason I mentioned it. I believe it really cool when people can help each other, that is why I mentioned it but not because I’m looking for support in the question. When people help each other for no reason, it makes the world better )
11. Isn’t it directly concerns proper work of the speed booster plugin? I believe if we resolve the issue, we will make the plugin better together, won’t we? If we resolve the issue, other users will never face it and will consider the theme as the best in the world.
14. Let me mention that I know the steps required to be made. That code perfectly works at any of my other sites, but it doesn’t work with newspaper 🙁 That is the reason why I asked for support here. For 4 year at my previous theme I gathered hundred of thousands taxonomies. All I want is to make my web site works with the new theme at least on the same level as it worked on the previous one. I would really appreciate if you could potentially consider a possibility of giving me a hand with this unusual question.
15. Thanks. It works perfectly
16. Super.
17. Is there any chance you may consider such addition for future updates?
Really appreciate for your time and kind help. Look forward to receiving your answers. I’m really really really rely on your support.
Have a nice day. Wish all the best to the coolest developers in the world!
Hello mc_kot,
3,4)I have checked your screenshots and these steps are corrected but please notice that I am not aware of what type of code you have added in your child theme, sorry! Please notice that the child theme addresses only for ADVANCED USERS which have solid knowledge in hard coding and also, please notice that our support is not covered by these additional customizations which you have entered into your code. Also, please ensure that you are using the latest version of child theme which comes bundled with the latest version of Newspaper. Please notice that very important is what you have added in your child theme because the code could be wrong and the child theme will not work. If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
5)If you want to always enable speed booster, delete this code from speed booster file: http://screencast.com/t/RZLIOPUNdqh and then, your speed booster will be active for all type of untested plugins. Please notice that the speed booster is not tested with this type of plugin might appear a lot of unknown issues generated by this plugin and we cannot provide support for these. Also, for more information about our speed booster plugin, please check our tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
6)As I said you above, the general cropping system for the entire theme is ‘center to top’. Images used in thumbs are cropped to fit the thumb size and depending on image aspect ratio the result can be different. The theme uses center-top cropping system but if you want you can modify it to center-center (for example) if you consider that will work better. The file that needed to be edited it’s td_config.php and you can choose the thumbs which you want to edit: http://screencast.com/t/rQCzeuHV You can find more details here: https://forum.tagdiv.com/image-size/ and more details about cropping here: http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
11)Please notice that we cannot provide additional customizations for speed booster plugin, sorry! All information about this type of plugin is found in this documentation here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
14)Please notice that this type of code involves custom work and we cannot provide this type of services at the moment, sorry! If you want to make another custom taxonomy for our theme, you will have to implement yourself. Please notice that the code is very complex and the implementation method could be different from one theme to another. Also, you can guide by our custom post type & taxonomy makes your custom taxonomy, according to this documentation here -> https://forum.tagdiv.com/custom-post-type-support/ Also, these services are custom and are not covered by our support!
17)In a future update, it is possible but we cannot say for sure if it will get done in the next update because we have a big list of fixes, improvements, and suggestions to implement. It’s hard to filter them and select which one gets implemented now and which one gets postponed. The developers decide if it gets done or not, though.
Thank you for your understanding!
3,4)
“I have checked your screenshots and these steps are corrected but please notice that I am not aware of what type of code you have added in your child theme, sorry! “
The code that I’m using was taken from your manual. It is not custom code.
function td_inspect_scripts() {
global $wp_scripts, $wp_styles;
echo 'registered scripts<br>';
foreach ($wp_scripts->queue as $handle) {
echo $handle . ' | ' . $wp_scripts->registered[$handle]->src . '<br>';
}
echo 'registered styles<br>';
foreach ($wp_styles->queue as $handle) {
echo $handle . ' | ' . $wp_styles->registered[$handle]->src . '<br>';
}
}
add_action( 'wp_print_scripts', 'td_inspect_scripts' );
So when I paste it in codebase functions.php — it works perfectly. WHen I add it to the child theme and remove from codebase — it stops working
please ensure that you are using the latest version of child theme which comes bundled with the latest version of Newspaper.
I’m using the latest version of the Newspaper theme as I have just purchased it and no updates information has arrived sinse then.
So the issue is that the child theme doesn’t work even though I make all the proper steps that are required to be made. 🙁 Can you please help?
6) It works perfect. But again the changes stop working when I try to add them via child theme, but not through the main theme. As you confirmed that the steps I make are correct, it means the child theme doesn’t work at my web site for some reason. Can you please fix it?
11) Dear Catalin. I’m afraid you really confused me. I haven’t requested for additional customization. I’m requesting for proper work of the current version of the speed booster. I do not need additional customization. I’m totally fine with the current one. I’m asking for support as I noticed the plugin didn’t work for
• jquer
• jquery-migrate
• wpgeo
No additional customization is required. What is required is a proper work of basic customization.
Hello mc_kot,
3,4) Please notice that this type of code will have to be used only in the main theme because this is not tested with child theme and with it, you will get the list of registered CSS and js add the following code at the end of the functions.php file and then you will have to remove this code because you will have nothing to do with it. Please understand that this code is used only to show you the list with the id for all the CSS and js will appear on your site (top of the page). Copy and paste the list from your site into a .txt file. Please notice that all of this information are mentioned in our tutorial here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ but it seems that you have missed them.
6)Also, please notice that all the thumbs are created in td_config.php and this type of folder is part of our wp_booster core. Please notice that all the files which are from this folder cannot be written in the child theme.
11) Please notice that one of these id’s come from your untested plugins (wp-geo) and the other ones seems to come from our theme. Please notice that these will be applied to later than the others and you will have to increase yourself their priority. For more information in this regard, please check this topic here -> https://forum.tagdiv.com/topic/pagespeed-insights-google-fonts-problem/
Please notice that these customizations involves custom work and please notice that these are not covered by our support!!!
Thank you for your understanding!
3,4) Catalin, I know it and I have already done everything that could have been done with that code and then removed it. I’m showing it to only as a reference of the code that should have worked in functions.php of the child theme, but didn’t work at all. If you don’t like that reference, please see one more code from your manual which didn’t work
add_filter( 'jpeg_quality', create_function('', 'return 50;' ) );
But it doesn’t matter if the code is from your manual or not. What I’m trying to explain is that none of the code pasted in the functions.php of the child theme works. Neither yours, nor anyone else’s. That is why I’m asking to your help.
6) so what is the proper way of making changes there and making sure it is not deleted when a new version of the theme is available?
Hi
I’ve tested the code on my side an it works fine in both child and main theme. In order to have it working the thumbnails must be regenerated.
You can create a new cropping system only by using theme’s api but this is not possible in child theme. You will need to edit main theme’s core files or as an alternative create a plugin which crops the images in a different way.
What you’re trying to do is a custom modification which require good coding skills and the proper knowledge of this process. Keep in mind that we do not offer custom modification, they are not included in support policy.
Support refers at current features included in the theme and helping users to understand how they work. Anything related with extending current functionality of a feature or creating new ones means custom work and falls beyond the support can offer you. Here you can find more detail about support policy: http://themeforest.net/page/item_support_policy
To customize the theme or change the way some of its features works you will have to proceed with caution and study very carefully how your changes will affect it. Also you will need very good coding skills as our theme is very complex and understanding how code works is not a “walk in a park” job.
If you are not aware of the steps you need to take to achieve your goal my advice is to look for someone which can help you with implementation or hire a freelancer to do it for you.
Thanks for your message!
-
This reply was modified 10 years by
Andrei L..
“What you’re trying to do is a custom modification which require good coding skills and the proper knowledge of this process. Keep in mind that we do not offer custom modification, they are not included in support policy.”
it seems there was a miscommunication. I’m not requesting for custom modification. What I’m requesting for is listed below:
1. Answering technical questions about the item’s built-in features, functionality and third party plugins — I’m requesting for explanation of how child theme works (which is build-in feature of the theme) for my particular cases which are not covered by manual
2. Help with defects in the item or included third party assets — I noticed that child them didn’t work for me and requesting for a assistance here
3. Answering questions about how to use the item — I’m also trying to get explanation of the part of the child theme work which is not described in the manual, as the questions I’m asking are not mentioned there
So, I would highly appreciate if you could help me out.
Hi
Child theme functionality it’s covered in theme’s documentation here: https://forum.tagdiv.com/the-child-theme-support-tutorial/ Only the files indicated there are available to be edited via child theme. Also I’ve mentioned in my previous reply that I’ve tested jpeg compression from child theme and works fine. Here is a an example: http://screencast.com/t/bnE5F4cmi2E – http://screencast.com/t/CluFke3o
Here are the images generated at a compression by 100 from child theme: http://screencast.com/t/zpnNS3UdERy4 –
http://screencast.com/t/4qefyWgrJp6J Noe that I’ve regenerated the thumbnails after each modification made in child theme, otherwise the compression won’t take effect.
As for cropping system that cannot be overwritten from child theme as Catalin already pointed in its previous replies. I can be changed only by editing main theme’s files or creating a plugin.
Thanks!
Hi,
Unfortunately function.php is a bit different when used from a child theme. It will not re-write the file in the main theme, but rather the code will apply over it. this is better detailed here: https://codex.wordpress.org/Child_Themes#Using_functions.php
Basically the code you add in the child theme’s functions.php has to have a higher priority than the code from the main theme, otherwise your code will not apply.
I hope this helps.
Thank you!
And how to provide the higher priority to the code in the child them than the code from the main theme?
For now I added this code to the functions.php of the main theme
<?php
add_action( 'init', 'videogames', 0 ); //exit;
function videogames() {
register_taxonomy( 'lydi', 'post', array( 'hierarchical' => false, 'label' => 'Люди', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'temi', 'post', array( 'hierarchical' => false, 'label' => 'Темы', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'strani', 'post', array( 'hierarchical' => false, 'label' => 'Страны', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'istochniki', 'post', array( 'hierarchical' => false, 'label' => 'Зарубежные источники', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'organizacii', 'post', array( 'hierarchical' => false, 'label' => 'Организации', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'regiony', 'post', array( 'hierarchical' => false, 'label' => 'Регионы', 'query_var' => true, 'rewrite' => true ) );
}
The code works perfectly, but I can’t understand how to placed it in the child theme.
Hi,
Please follow these official guides: http://php.net/manual/en/function.proc-nice.php – http://php.net/manual/en/function.pcntl-setpriority.php
Thank you!
Hi,
In order to use functions.php in the child theme , it will require coding skills in order to change the priority as I exemplified above. If you cannot do it, then don;t use the child theme for functions.php. Add your code in the main theme or hire a freelancer to help you insert your custom code. You can hire a developer from sites like studio.envato.com
Thank you!