- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi,
If you hadn’t made other custom modifications this should work fine as you can also see here: http://screencast.com/t/aHQsYwPp I have also added the read more button for block 6 as well and haven’t had any layout issues.
If you use cache or CDN host services please empty cache and purge files as this could case issues and load old content of the files.
Thanks
I have purchased and installed the Newsmag WordPress theme, which I am using and love. The only problem is that the sidebars that I create using [tagDiv] Block 16 keep disappearing. I have re-set them numerous times and they will stay visible and functioning for a certain period of time, but then [tagDiv] Block 16 will vanish from it. I am wondering if I am missing something in the setting up or saving of these sidebars.
Not a theme issue; the author page is a built in function of WordPress.
This is a quick and dirty:
https://wordpress.org/plugins/remove-author-pages/
You could also comment out the author name block on the various templates; and/or in theme panel post options to not show author name.
What I mean is the block titles. Please visit toppbottom.com. I mean the title such as “Popular This Week” and/or “Recent Albums & Mixtapes.” In size, they are pretty small. I’d like to make them bigger in size and font, even possibly center them in each section.
Hi,
I would like to set the theme to full width, or for example some blocks to cover the whole page as fluid.
Also I would like to make the footer on full width!
Thank you and Best Regards!
David
Hi,
I have also tested this using the latest theme version and haven’t had any issue of this type so you shouldn’t experience this also.
Please make sure that you use the latest theme version which is 4.6.1
Please try this without any plugins active and also make sure you empty cache as well and make sure the theme actually saves settings. The issue with saving settings usually appears because the server security module blocks the access to admin-ajax.php file. Try to verify if this happens when you save settings in other cases in theme panel and also verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
Contact your server administrator and explain the situation, as itâs requested many times during the a save the file itâs treated as threat so itâs banned. You can report false positives to your server administrator to remove it from the banned list.
Hope this helps! Please let me know and also provide your siteâs URL!
Thanks
Hi,
Use this CSS, just a selector changed:
.menu-item-4800 {
display: none;
}
.td-affix .menu-item-4800 {
display: block;
}
.td-affix .menu-item-4800 img {
height: 50px;
}
Thanks!
Hi,
1-3-5 Yes, and also make sure you empty cache and purge files if you use any CDN host services.
2. It will create several different thumbs for images which the themes needs and will be used on module/blocks/sliders.
4. This works based on js which I noticed that isn’t working at all on your homepage disable all plugins and make sure that you test this without any plugins active.
6. Please also test this without any plugin active and see if this still happens.
Thanks!
Hi,
You can build your page using block 12 like in the demo: http://demo.tagdiv.com/newsmag/block-12/
If you refer only at Latest Articles you can use modules 11,12,13: http://screencast.com/t/hzw39hrsVyD
Please also follow our documentation: https://forum.tagdiv.com/newsmag-documentation/
Hope this helps!
Hi,
If you ask about modules from blocks try this: http://screencast.com/t/ZpTAyIuGER for each module.
Thanks!
Hi,
Unfortunately you can’t build it exactly like that using this theme but you can use the VC page builder to build it and give it an similar look. For that you can use the big grid: http://screencast.com/t/XKc6Nex16Ur
and block 15: http://screencast.com/t/iofmBgGP0b
Take a look at out demo, go trough our available blocks and modules list: http://screencast.com/t/FH6MaiZ5 and chose the one that you like and are suitable for your page.
You can also go trough our documentation on how to build and set your homepage: https://forum.tagdiv.com/homepage-newsmag/
You can also find an detailed available block list: https://forum.tagdiv.com/newsmag-documentation/
Hope this helps!
Thanks
Hi Lucian,
I used Block 6 and created read more buttons for module 5. Now I deleted the code for the read more buttons and the grid layout is back. Weird…
If you have any idea, I’ll be glad đ
Have a nice day,
Carolin
-
This reply was modified 11 years by
Larane.
Hi,
Not sure I understand to which “Quote on blocks” your refer too. If you mean the excerpt: http://screencast.com/t/LhJ2ivBpf then you can take a look at how the link is added for the posts title on module here: http://screencast.com/t/yckv0gxdS9 and use the same method to add link to posts’s excerpt also.
Please let me know if this is what you would want and I will add this on our suggestion list.
Hope this helps!
Thanks
How can I make the font size and the actual button for the block/module bigger? Also is there a way to have it centered in a block as opposed to it being shifted left?
Hi,
our server has been overloaded in past by hackers, port flooding, bots reading all our pages 50x a day from Russia and China search bots.
CSF/firewall/IPtables on server protects against port scans, port flooding; blocks an IP for hitting your site 500x looking for vulnerability.
You can switch to default theme and not lose settings. Same thing as doing a site update, where you temporarily switch to default theme before updating the theme you’re using. I just updated to newsmag 1.4 today, switched to default theme, when I switched my theme back on, all settings still there. WP expects this behavior. đ
But yet … EVERYTHING you put on a sidebar, footer, menu which as to “go look and bring back stuff” is a dbase query.
You can look at the WordPress Codex also for topics on “optimizing database” and general info on how all the dbase queries work. But all those modules on home page are dbase queries, but it’s just one page, One million other pages with too many queries, would overload dbase, if all those pages were being loaded concurrently (all at once) such as a spider reading all your pages.
But your host can help you with stuff like checking to see if you’re being abused from external IP or not. Ideally you should be getting a daily summary for your server of intrusion attempts by IP, notes from server about FTP accesses, and if any of your hard drive partitions are being filled up.
But anyway, just some ideas. đ
Hi,
I’m starting to make an effort to optimize the site for PageSpeed, and couple of minor things:
test page
http://ga-ga.com/1890/book-review-people-deserve-a-fighting-chance/
1) is it possible to setup the use of the optimum thumbnails for this kind of page layout? Basically actually using 200×150 images vs resizing them? I currently have 200×150 as one of the 3 sizes in the wp admin > media > small/medium/large, however the page blocks on posts don’t actually use the 200×150 size thumbs.
(to correct listed as “error” for pagespeed)
resized in HTML or CSS from 238×178 to 200×150. Serving a scaled image could save 1.5KiB (30% reduction).
2) can we set pages and posts and categories, etc., to NOT load the visual composer CSS since it’s only used on home page?
/wp-content/plugins/js_composer/assets/css/js_composer.css
3) getting this issue, which I don’t recall seeing before when doing past optimizations, and not sure if something in ad module is loading something via BOTH http and https, or if this is strictly an issue on Google ad side of the load:
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 9.2KiB.
â˘http://pagead2.googlesyndication.com/bg/-GgkI9xeVCztemwrHKdpGDGZZ7feSdeVfZSSdFvmVw8.js
â˘https://www.google.com/js/bg/-GgkI9xeVCztemwrHKdpGDGZZ7feSdeVfZSSdFvmVw8.js
4) best way to defer parsing of this javascript
â˘http://ga-ga.com/wp-includes/js/comment-reply.min.js (622B)
â˘http://ga-ga.com/wp-content/plugins/akismet/_inc/form.js (533B)
Thanks folks đ
Right. So, 32GB allocated to one domain is puh-lenty! We have 32GB and 12 Xeon cores, and allocate 4GB max per small site, and 16GB to our big site for php.
Yes, any theme will be involved in how many queries you have per page, based on how complex you’re doing the layout. E.g., using the “query dbase to show 10 most recent items” on every page is a query; so, architecting the pages as simply as possible will cut down on “number of queries” per page, if RAM is not the issue, and php queries are overloading server.
A page layout with 50 dbase queries will overload CPU’s more readily than page with 25 queries on page.
You can simply switch to twenty-fifteen theme temporarily while debugging.
One presumes you have anti-hacking stuff setup like “limit login attempts” and CSF for port scanning blocking, and something in place to stop bots from hitting your lost password link on admin screen; moved admin login to hidden location, turned of pingbacks, etc., etc.
How do I change the style of blockquotes in the “Edit Post” window? I’ve successfully changed the style on the front-end with a simple addition to my child theme’s stylesheet, but I’m still seeing the huge, blue blockquote style in the back-end. How do I make it look like how my front-end does?

Hello, is there any way to make the default sidebar appear on the right side of the whole homepage, even where there are widget blocks ? At the moment the default sidebar is only shown in the bottom of the page where the latest articles are visible.
I know I can make widgetised sidebar blocks for each widget block, but I don’t want that. I want the default sidebar to be shown on the entire home page as it is in articles.
LE: I would also like to hide on the mobile phone view the “more stories box” visible within articles.
And finally I would like to completely hide the sidebar in the mobile phone view to make navigation a lot simpler.
Thank you!
Hello Lucian,
Thank you, i have been through this method, and pasted the code
.menu-item-4800 {
display: none;
}
.affix .menu-item-4800 {
display: block;
}
Which is exactly the one you provide. But the result live http://le-meilleur-du-golf.com/
doesn’t show the logo at all…
is this method still working?
thank you
I do know android has had a lot of problems with Disqus over the past couple of years.
Remember that block is loading via JavaScript in a div at bottom of theme. The theme doesn’t load that or apply a ‘hide’ style class to that, it comes entirely from Disqus.
Only CSS for Disqus in theme I know of is the margin hack I posted couple days after theme launch which was rolled into v1.2 I believe, so that it wouldn’t touch the borders.
You are correct, the Disqus comments are not loading on your site on my iPhone 6 in portrait mode. Might be due to having ad banner at bottom of story, or the social links plugin on the post page (I only put mine on home page to not slow down the post for PageSpeed). I have one header ad and two sidebar ads. But I’m also seeing some errors on your home page with the grid, where one image shows twice and then blank boxes — so I see Dixie Bell story twice, then four blank grey boxes. Both portrait and landscape mode.
Hi,
Today I installed News Mag Theme. Theme is nice and working fine but I have few problems. Please look at that and give me solution
Website Link – http://www.top10wala.in
1. Mega Menu not working in categories, even though I selected Mege Menu while saveing Menu.
2. Below Trending now check blocks and images – Why images don’t cover whole block? Do i have to use certain size while uploading image?
3. Arrow navigation not working, from trending now to any block.
4. Smart Sidebar not working. Not on Home page not on Posts.
For now these are the problems i am facing.
Is the only way to have a YouTube embedded player show up on the homepage to add the YouTube widget block? The problem is that I don’t want to have to edit the homepage every time I want to change that video, since it will be frequently and there may be other less experienced people who want to add a video. Is there a way to embed videos using posts instead of the blocks on the homepage?
Thanks for your help!