Hi,
after my last Newsmag theme update, I’ve applied again the code modification you’ve suggested in order to display the 970×90 custom ad under the category post grird (please read the above reported previous thread exchanges. It worked perfectly until the last theme update: now, the same modification doesnt’ work anymore (please see the malfunctioning at http://43b.60a.myftpupload.com/category/sport/calcio/)
What I have to do to display that custom advertising ad_box in the desired space i.e. under the category’s post grid?
Thanks in advance for any help.
Giuseppe Maio
P.S: hereafter the code modification of the file Newsmag/category.php
<div class="td-container">
<div class="td-container-border">
<?php td_api_category_template::_helper_show_category_template() ?>
<?php td_api_category_top_posts_style::_helper_show_category_top_posts_style() ?>
<?php echo do_shortcode('[td_block_ad_box_spot_id="custom_ad_1"]'); ?> // GSM:Display AD BOX 1 under the top post grid
Hi there,
with the update of Newsmag theme to versione 2.3.5, the modification indicated at the http://screencast.com/t/yOEz5TC7x to file Newsmag/includes/td_config.php doesn’t work anymore. Even if I’ve set the ‘show_child_cat’ to 10, theme still shows only 5 child categories as you can see at http://43b.60a.myftpupload.com/.
Hereafter my code modification:
...
td_api_block::add('td_block_mega_menu',
array(
'map_in_visual_composer' => false,
'file' => td_global::$get_template_directory . '/includes/shortcodes/td_block_mega_menu.php',
// key added to supply 'show_child_cat' differently for each theme
'render_atts' => array(
'show_child_cat' => 10,
)
)
);
...
How I can get again to show more than 5 default child categories in the top megamenĂą?
I’m using a Newsmag child theme and I’ve made only this max category number modification to my Newsmag-child/includes/td_config.php file.
Thanks in advance for any appreciated help.
Giuseppe Maio
Hi there,
the modifications you’ve indicated some time ago to the file Newsmag/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php (as shown at http://screencast.com/t/YcimFCB4W) worked for me like a charm until the update of Newsmag theme to the Version 2.3.5. The purpose was and still is to hide the sidebar selection combo to every user but to administrator. Now, even if the suggested modification has been applied, it doesn’t work anymore and the sidebar selection combo is “dangerously” visible and selectable from everyone. This way one (author, editor, …) could remove a “vital” sidebar from the system! How can I get the correct behaviour?
I’m using a Newsmag Child theme with only this modification to my Newsmag-child/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php
My site is at http://43b.60a.myftpupload.com/
Thanks in advance for any appreciated help.
Giuseppe Maio
-
This reply was modified 10 years by
gmaio.
Hi Andrei,
it works fine now 🙂 (i.e. http://43b.60a.myftpupload.com/category/sannio/).
Thank you very much!
Great job, as usual!
All the best,
Giuseppe
Great Bogdan B.,
same problem with facebook counter set to zero but following the tutorial instructions all works fine.
Thank you very much! 🙂
Giuseppe
Hi Catalin,
it works fine now!
May be I didn’t try only that combination of settings 🙂
Thank you very much indeed!
Giuseppe
… I forgot to say that I’d like to scroll the site page and not to have a “fixed” background image. Therefore, I’d like to have a background image that could be auto-resized on browser page resize event and also the site page could be scrolled indipendetly from the background image which, rather, remains “freezed” in its position.
I don’t know if it is possible or not.
Thanks again
Giuseppe
Sorry Andrei,
I have other details on the matter. I thought that it was clear to me but another doubt arises. Look at this screenshot http://screencast.com/t/WgMlLD9Rg I have two different options: the “Featured” category and the “Put in evidence” checkbox right below the pubblication state combo. Why are there two different controls if, as you said, the “Evidence” and the “Featured” are the same thing?
Thanks,
Giuseppe
-
This reply was modified 10 years by
gmaio.
OK Andrei,
now I’ve definitely understood the matter :). My doubt was originated from a different “Featured” word translation in italian language: in some places of wp backend it has been leaved as “Featured” and in other places it has been translated as “In evidence”. Sorry about that but I haven’t taken a look before to the address bar of my browser otherwise I would have noticed of it!
Thanks a lot,
Giuseppe
-
This reply was modified 10 years by
gmaio.
Hi Andrei,
reading the page you’ve linked (http://www.wpbeginner.com/beginners-guide/how-to-make-your-wordpress-blog-completely-private/), in the paragraph “Making Individual Posts Private in WordPress” it says: “WordPress comes with a built-in feature which allows you to make posts or pages private and password protected. Here is how to make a WordPress post private…”. In fact, the editor allows to set the page as “private” even if after it doesn’t do what it must. What you think about it?
Thanks!
Giuseppe
Thank you very much, problem solved!
Bye,
Giuseppe
Yeah Andrei!
It works fine now, thank you very much indeed!
Bye
Giuseppe
Hi Andrei,
point 1 and 2 have been closed successfully thanks to your tips, great man!
Now, concerning the point 3, if you go to the link http://43b.60a.myftpupload.com/category/cronaca/, and see right below the black main menu, on the right, you can see a white select combo with a down arrow set to “Ultimi” i.e. “Latest” in english.
The other options of that combo are: “Ultimi”, “In evidenza”, “PiĂą popolari”,… In english those items mean “Latest”, “In evidence”, “Most popular”,…
The option “Metti questo articolo in evidenza” (I don’t know how better translate in english, maybe as “Flag this post as an highlighted post”) checkbox is available to selection in the post fast modification section only. Therefore I expect to see the post flagged as “highlighted posts” to be listed when I click on “In Evidenza” item of the above mentioned combo, but no way to get any highlighed post as you can see. What’s wrong?
I hope I’ve made myself better understood now 🙂
Thanks a lot and looking forward for a your reply.
Giuseppe Maio
Hi Andrei,
thank you very much indeed. Your snippet works fine!
Now I can rest assured, knowing that a user can’t play with or remove existent sidebars around the site!
Thanks!
Bye
Giuseppe
Hi,
thank you for your prompt reply! I’ve done your suggested edit to td_set_post_settings.php but, unfortunately it has no effect on custom bar hiding to non administrative users. What may have gone wrong?
Thanks
Giuseppe