- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
there in the visual editor, I am trying to move a place block, but I can not because it appears a long, endless space beneath the block. how do I solve this problem? See example: https://uploaddeimagens.com.br/imagens/pular-png
I use the publicize to share my posts on facebook. But when the post is automatically published on facebook, you see a preview of the post and at the end appears [242 more words. ] How do I not show up that phrase xxx more words? Example: https://uploaddeimagens.com.br/imagens/post-png–21
Thanks again Alin,
Is it possible to get the social sharing (Stay connected http://themeforest.net/item/newsmag-news-magazine-newspaper/full_screen_preview/9512331) buttons from the newsmag template for my website (newspaper theme)?
I also would like to show user star ratings (post rating without login) by a few posts. How can I setup that visitors can place a starrating by an post? For example with 3 indicators; quality, price, reachability.
Like this: http://themeforest.net/item/newspaper/full_screen_preview/5489609
Just did a fresh install on my site, starting from scratch to avoid what may have been some security issues before. I’m making a concerted effort to secure and optimize the site before adding any content or doing any major customizations.
I’m using the guide here to try and improve page speed: https://forum.tagdiv.com/how-to-make-the-site-faster/
Under section 4. Remove render blocking css/js – using the TagDiv Speed Boosterplugin (Advanced Users) I’m running into some issues.
1. I’ve installed the Speed Booster plug-in and activated it.
2. I’ve copied and pasted the suggested code into very bottom of NewsMag’s functions.php file (there’s another functions.php that the guide is talking about, is there?) and saved.
3. I’ve copy/pasted the output at the top of the page into a text file, which reads:
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
wp-pointer | /wp-includes/js/wp-pointer.min.js
wordfenceAdminjs | http://madlymanly.com/wp-content/plugins/wordfence/js/tourTip.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
sucuriscan | http://madlymanly.com/wp-content/plugins/sucuri-scanner/inc/js/sucuriscan-scripts.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
td_wp_admin | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_edit_page.js
thickbox | /wp-includes/js/thickbox/thickbox.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
wp-pointer | /wp-includes/css/wp-pointer.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
sucuriscan | http://madlymanly.com/wp-content/plugins/sucuri-scanner/inc/css/sucuriscan-default-css.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wpalchemy-metabox | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/content-metaboxes/meta.css
jetpack-icons | http://madlymanly.com/wp-content/plugins/jetpack/css/jetpack-icons.min.css
4. Deleted the code from step 2, then saved.
5. Re-ran the Google Test and it spat out the following results:
Remove render-blocking JavaScript:
http://madlymanly.com/wp-includes/js/jquery/jquery.js?ver=1.11.2
http://madlymanly.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
Optimize CSS Delivery of the following:
http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.2.2
http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400italic%2C700italic%2C400%2C300%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.2.2
http://madlymanly.com/wp-content/plugins/js_composer/assets/css/js_composer.css?ver=4.4.4
http://madlymanly.com/wp-content/themes/Newsmag/style.css?ver=1.7.1
6. When I went back to output from what I did in step 3 above, I didn’t notice any corresponding file names for the issues that needed to be fixed. For instance, in the Google report, it suggests jquery files, but when you search the code section of step 3, I couldn’t find anything that said “jquery”. Same thing for css like “Roboto”.
I noticed in the code comments within the Booster plug-in that it looks like it is still being tested on NewsMag:
/**
* Move the style only on newspaper
* @todo move the style also on newsmag after we fix all the issues
*/
Thoughts? Thank you for the help!
Hello, excuse my English. I’m Brazilian.
Questions:
– When I put the code of the ads he repeats 3 times. How do I solve this problem?
– How do I put the announcement of the destination URL when it is clicked?
– Its place an ads above the prominent image of the post without it being also in my home? I do not want ads in the header home, just want a post alone.
– I set my in every possible and imaginable forms, but keeps showing the following text: Click here – to select or create a menu. 3 appears on the menus that. I do not know what to do. It only appears when I set up on the “customize” which shows the changes at once. When I go out to personalize it changes everything again.
– I want to stay with the Style 8 (logo + menu on one line), but some pages are below the menu line, leaving all unformatted in the “customize” option. Decrease the letter does not help. I wanted him to just + menu occupy entire header without the spaces on the side, is it possible?
– I created categories to make my mega menu and pointed out the pages, but, from what I saw, I get a link to access the category and the page link. You can not, for example to place ads above category posts, because it’s a category and not a page with the classic editor. You have a solution for this? I wanted when the player clicked on the title of the block he went to the page and not to the category.
My site: http://www.empreendendosonhos.com/
Thanks in advance.
Adriana
You can change the file uploads folder by reading the documentation for WordPress .. of which there is much in their “codex” … some core things for WordPress can be editied in the wp-config.php file — the theme (again) does *not* control where images are uploaded.
See:
(note section on changing location of image directory)
https://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder
default location
define( 'UPLOADS', 'blog/wp-content/uploads' );
change to something like /images
define( 'UPLOADS', 'blog/images' );
If you do *ANYTHING* else with images, like sub-sub folders, or other folders — this would generally ONLY be for images you want to drop into things like an ad widget or manually place into a post.
For example you could put your ads into /blog/ads/ and all your ad file graphics there, which are then used when placing manual ads.
If you want images to be assigned to a “featured” image — you need to
a) make sure images are in the uploads folder, whatever you call it
b) use a plugin to make WP see those images
Hope that provides further help.
I’ll be off support help for everybody here the next few weeks, so have a great month everybody!
-CS
When a post is shared to Facebook a lot of text that doesn’t belongs to the post is pass to the Facebook wall.
Here’s a sample post:

Facebook is adding categories and the post date along with the post title and is suppose to only load the excerpt.
Can someone help with this?
Thanks
Hey Alin,
You can see my website here.
What I really want is to change the sidebar color site wide. If that’s not easily possible without having to set custom CSS for every module/block even for custom sidebars, etc. then I’ll leave it white.
Thanks for looking into this!
Hi,
Unfortunately Newsmag theme was initially designed at this width – 1021px – with an fixed grid layout, responsive as it is fluid and style for desktop/tables/mobile screens. So changing the width would not be easy as it needs changing the width value for all elements on pages and for this you would need custom work. Also on pages you can use full width row to display your add your banner/ad – http://screencast.com/t/0c0sCetT
If you have basic css/html experience and you want to do this for post pages please check this topic, but you may need additional customziations – https://forum.tagdiv.com/topic/728-x-90px-ads-in-article-inline-ads/#post-43914
I’m not sure what you want to do with thumbnails, you can try to add on your page only blocks that use the same size for thumbnails – you can see here thumbs size on blocks to make an idea – http://screencast.com/t/pgn9npc915B
Also if you want to change the thumb size for a block/module here you can find the code – http://screencast.com/t/Pvy1eMnun if you make any change here please regenerate thumbnails using – https://forum.tagdiv.com/how-to-fix-strange-thumbnails/ Please note that if you create a new thumb there you have to change it also in the module file, for example – http://screencast.com/t/Ns1kn4ECxVNk
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Google Webmasters is giving me a duplication error about “duplicate meta descriptions” and duplicate title tags on the home page and its paginated pages. For example naldotech.com/page/1, naldotech.com/page/2 and so on. I talked with the guys over at webmaster forums but they couldn’t provide a solution. Any ideas?
From what I have seen, paginated archives (tags and categories) have the rel=“next” and rel=“prev” tags while paginated pages of the homepage do not. Is there any way of manually adding them? Maybe a code to the functions.php file?
Regards
Hello,
I need to put Google Tag Manager code to my site:
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PTR2L7"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PTR2L7');</script>
<!-- End Google Tag Manager -->
Can I use Custom JavaScript section of your Theme Panel for that? Or should I put the code some other way
Thanks!
—
Alex
Hi,
You will need custom work to achieve this. From 1.8 version of Newsmag you will be able to create new block/module using API documentation(will contain examples “how to”).
Thanks!
Hello
I want to disable some other categories appearing on my homepage. Since I didnt update the other categories I want it to be hidden in homepage. I only want to show the top big grids and the latest post.
I searched and read some post relating to this issue and it seems I cannot find the DISABLE button on the Theme > Categories..
All of a sudden the posts with featured video started messing up, see example:
http://todosobrecamisetas.com/2015/06/oficial-adidas-messi15-cleats/
And the smart lists are no longer working either. See example:
http://todosobrecamisetas.com/2015/05/adidas-2015-anthem-jackets/
Yesterday it was all fine, what could have caused it.
Please help! Thanks.
Hi,
I’m writing in to check on a conflict that surfaced when I installed both News SEO & BBPress plugins. Apparently the message “Warning: in_array() expects parameter 2 to be array, null given in /home/(url name)/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1446” came out on the front and back end of the website. Can I check if the theme has any effect on it?
Thanks!
I don’t know a lot about Joomla but it doesn’t matter much which is superior, matters which one lets you make something superior. There’s more than the car, there’s also the driver and that’s why you are here trying to learn how to drive wordpress. I’m not defending wordpress over joomla, I just don’t want to say that something is worst when in reality I don’t even know it that well.
About images and thumbnails, yes they can get messy. If you don’t want image resizing (thumb generation) just go to options and set the sizes of thumbnails to 0x0 (zero), voilá, no more image generation. This has the downside of making your visitors download the original images all the time, even if all they are seeing is a thumbnail of them. Making thumbnails will create an image of 2KB to show a 100×65 thumbnail but people are free to serve a 70KB 700×357 image that will be displayed 100×65 anyway, downsized only pixel-wise and not KB-wise.
One thing though: You’ll see 3 thumbnail sizes in WP options but that doesn’t mean that your WP makes only 3 thumb regens, if some plugin or theme registers a new size, that new size will be created and you won’t see it in the options. Woocommerce “installs” 3 thumb sizes regenerations for example, and bam! suddenly you have 10000+ images in your media folder because every upload will be multiplied 6 or more times!
In that regard, this theme could get a bit of optimization. This theme is very beautiful but has lots of blocks, sliders, galleries and what not. So this theme registers a boatload of thumb sizes regens to fit all those blocks. After a while I figured out which blocks and sliders I prefer to use and those I don’t and so I commented out all those thumb regens I don’t use. This should be done, if possible, before running a plugin like thumbnail regeneration or all thumb sizes registered will be regenerated.
PS: support is always answering questions at the forum (during work time ofc, shown top right) but you can try e-mail, they are quick to respond, I wasn’t even their client yet and they answered pretty quick.
-
This reply was modified 11 years by
nf_prt.
Hi,
You can translate it using Translation section – http://screencast.com/t/Hjzjk1gDD and you can change the background color using custom css in Theme Panel > Custom Css – http://screencast.com/t/7LdsTahIdIFh
.td_read_more {
background-color: red !important;
}
Also if you want to hide it you can use custom css code. For example to hide the button for block 9 on homepage – http://screencast.com/t/VdLdmXrmeQ
.home .td_block9 .td_read_more {
display: none;
}
Thanks!
Upon closer inspection it appears to be the ‘enqueueStyle’ function starting at line 540 in class-vc-base.php in plugins/js_composer/include/classes/core.
If I comment out the line ‘wp_enqueue_style( ‘js_composer_front’ );’ the error goes away.
/**
* Enqueue base css class for VC elements and enqueue custom css if exists.
*/
public function enqueueStyle() {
$post = get_post();
if ( $post && preg_match( '/vc_row/', $post->post_content ) ) {
wp_enqueue_style( 'js_composer_front' );
}
wp_enqueue_style( 'js_composer_custom_css' );
}
@Bryson T
well gosh and thank you kind sir!
I always feel like I’m giving back. On the old forum I used to haunt for our ecom system there was always this one guy providing all kinds of “dumbed down” info for us newbies and it was often the only way I could figure something out.
I guess I kind of took on that role ’round here for a bit. Sadly my time here will be coming to an end as it does from time to time where I ‘disappear’ for a month or two, but often I have time to “haunt” this forum as I’m often stuck doing things during the day where I have tiny little windows of nothing to do but wait … and I can only stomach so much on Facebook or checking out autoweek.com, etc. — so I circle back to here. And sometimes I see a question … and think .. HEY! I had same issue, I know what to do !
Since TagDiv has great support, I really do NOT need to do that 90& of the time (obviously!), but sometimes I do have a unique perspective having done this so freakin’ long now.
In any case, thanks for the kind words (how DO I get a ‘tip jar’ on here???) (kidding)
Peace out 🙂
Fantastic!!! Thanks Alin For Helped Me
There are lots of Header Styles in Theme Panel, I’m using Style-3 but I want full width header in same style, Like you giving in Style-6 in top bar.
And Also Full-Width Footer
For Example – http://www.hongkiat.com/blog/
-
This reply was modified 11 years by
Sid.
Hi,
I cannot access your site – http://screencast.com/t/H7M1u8lq
Also please provide more details about what you are trying to do, an example will help(maybe there is on our demo something like you want to build?).
Thanks!
Hi,
I suggested a solution(an example) above and as you can see it can be done. You will need custom modifications to achieve that, so if you don’t know how to do it I suggest to hire a freelancer to do this for you, we would have gladly made it for you but for the moment we cannot offer custom work, sorry.
Thanks!
Hi Alin,
I was able to get the texts shown alright, but I felt that the following would have looked better (I’ll use English for clarity in the example — “Earlier” means earlier blog posts and “Later” means later blog posts):
Earlier >
< Later
However, the result was always that the “<” and “>” symbols ended up on a separate line, like this:
Earlier
>
<
Later
And that didn’t look good. Adjusting the font size in CSS didn’t help. I returned the original, untouched php files to the server for now. However, if you could help me have the above text + symbol combination work, that would most likely be the optimal solution. 🙂
Hi,
I have just setup the theme, imported dummy content and applied the video stack but it does not look anything like the example video stack theme. Any suggestions? http://www.mindbodymedicine.tv
I would like to have single column video posts so the video is the featured image and top element but is not full width so it has a sidebar next to it so viewers can see suggested videos with out scrolling. Thanks.
Well, they kind of already have … on various threads.
Right now the *only* solution with Newsmag if you have this CPU spiral of doom is to use the shim plugin, and use VC as little as possible beyond the development portion of your home page. Make sure you have a lot of memory allocated to WordPress (at least 256MB from the wp-config.php file in addition to php.ini setting; you must do both!).
We started to see minor spikes once 4.4.2 came out. Prior to that zero issues. Right now we can use it, but anything later not so good. I can’t imagine if WP Bakery haven’t addressed this ins the 4.5x versions, that they still don’t “get it” and are not solving it — seems to be a “if 90% of people can use, the other 10% oh well …” which isn’t great.
Right now TagDiv is focused on (based on posts I’ve seen):
a) Newspaper 5 w/ features of Newsmag + better grid + new version of API.
b) Next Shim beta for use with Newsmag *and* Newspaper.
c) Newsmag 1.8 with bug fixes and minor updates/tweaks.
d) Dev work on possible alternative to using Visual Composer.
So — at the moment if your site dies with VC 4.42 immediately, then it’s clear you might need to go back one more iteration, and/or stick with 1.6 of Newsmag vs 1.71.
I have 2 sites still working with 1.6 and 4.42 without shim, and doing okay, but they are fairly low traffic sites. I have 3 sites on 1.71 with VC442 and the shim, and 2 of these are our larger main traffic sites which were killing MySQL in batches of every 10 minutes or so going from green to yellow to red, and back. Then CPU death.
Not sure any of that helps … not much TagDiv can do beyond the shim, and possibly providing earlier versions of VC to try for your system. Since they don’t develop VC, it’s not something they can “fix” for anybody beyond the reports they have provided to the Bakery folks as a developer/licensor in hopes of solution (and yet to see one).
Some theme devs are already leaving VC in favor of in house solutions or simpler things like Siteorigin builder (free/open source), etc. (( We’re using Page Builder by SiteOrigin with a lean WP home brew Bootstrap 3 theme for a client reporting system along with Advanced Custom Fields, and works well so far for that … )).
Anyway…. I’m sure TagDiv folk will have some reply, but likely not far different from the above rantings 🙂
Of course, it’s possible that the next version of Visual Composer will be better “optimized” …. frankly, I’m amazed they are not working with an example “DOA” server setup, reading the error logs, and trying to find what bit of code is causing the death spiral, and then FIXING it. But I’m behind on stuff for my own business, so can’t really point fingers on that 😉