- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- 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
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Hello,
is there a way to nofollow the link in the button? rel=”nofollow” doesn’t work for me:/
Second question: How to show the button as a block (full width like~)? Is it possible?
Thank you and I wish you a happy new year!
I’m curious where I can find the “meta-info” PHP code location for blocks and modules. I’m trying to fetch custom field meta values under here http://screencast.com/t/Nv2MeyCX
Happy new years,
-Octavian
I’m curious about the code you use for the sidebar Ad seen here http://demo.tagdiv.com/newspaper/asus-xonar-u7-sound-card-hassaba-a-built-in-headphone/ It goes from 300×300 to 250×250, etc. Could you paste the Google code that looks like this?
<style>
.app-comrade-sidebar-responsive { width: 320px; height: 50px; }
@media(min-width: 500px) { .app-comrade-sidebar-responsive { width: 468px; height: 60px; } }
@media(min-width: 800px) { .app-comrade-sidebar-responsive { width: 728px; height: 90px; } }
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- App Comrade Sidebar Responsive -->
<ins class="adsbygoogle app-comrade-sidebar-responsive"
style="display:inline-block"
data-ad-client="XXXXXX
data-ad-slot="XXXXXXX"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
I will replace the necessary ID’s with my own. I just have no idea how to customize the Google responsive ad unit.
Also how can I use the theme to insert inline advertisments after the title? The settings only lets you insert inline ads after ‘X’ amount of paragraphs. Would ‘0’ paragraphs insert inline ads right after the title?
Thanks and happy new year,
-Octavian
Using module 6 on this category page gives me two columns of “posts” or app icons. It also give me a nice non-AJAX pagination at the bottom. http://appcomrade.com/category/app-reviews/featured-apps/
If I create a normal page, and then use the visual editor to create a “category page” using Blocks 3 then I get 3 columns of app icons like so http://appcomrade.com/featured-apps/
However, this Blocks 3 page only uses AJAX pagination (or load more, or infinite scroll) http://appcomrade.com/featured-apps/
How can I make the Blocks 3 block page http://appcomrade.com/featured-apps/ use the same 1,2,3……9 pagination as seen on module 6? http://appcomrade.com/category/app-reviews/featured-apps/
Happy new years,
-Octavian
Well i’ve found another post regarding to the single.php and figured it out myself. Here’s the solution:
$buffy .= '<br><h4 class="block-title"><span>DEEL</span></h4>';
$buffy .= do_shortcode('[ssba]');
$buffy .= do_shortcode(‘[ssba]’) is the code that triggers my social sharing buttons plugin.
I’ve added this to line 58 in themes/Newspaper/includes/app/modules/td_module_1.php. Any modification to the standard post lay-out (normally made in single.php) can be made in this file.
Holiday PageSpeed Fun Report Update!
Just as a pagespeed comment, I was testing mod_pagespeed, vs your tagdiv cache experimental, and W3 with page cache on, and found that mod_pagespeed on server with memcache, optcache and eaccelerator, seem to be about the same effect. What this means for most WordPress folks is quite simple: use a hosting provider that supports mod_pagespeed (e.g., GoDaddy now supports it with htaccess local config options — NOT an advert for them, just anecdotal) may be better option than messing around with all the various plugins that try to replicate that server-side functionality.
To Radu and all … who are wondering about the “render blocking blah blah” errors, this was one of the suggested solutions for WP (note the issue is common to ALL WP themes frankly due to the way the header works for most themes based on “traditional” HTML practice, 2 years ago nobody really cared about this issue!):
(QUOTED from WordPress.org discussion, “wpgeekster”)
The reason you are getting render blocking message from google is because your javascript is being called in the header. In your wp_register_script() function and in your wp_enqueue_script() function you must include true for the $in_footer argument. If you include the $in_footer argument, you must also include all the other arguments.
See:
http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
http://codex.wordpress.org/Function_Reference/wp_register_script
(END QUOTE)
From same discussion:
(QUOTED from “manuelkuhs”)
Here’s what I figured out about how to eliminate all render-blocking JS & CSS:
Install W3 Total Cache
Go to Minify
Use the “help” wizard that you can see as a button near the top
Accept the suggestions without making changes. This will combine all your CSS files into 1, and all your JS files into 1, 2 or 3, depending where you load them (if you load all in the same area, e.g. in the <head>, you’ll only get 1 combined file).
Set all JS to “Non-blocking using Async”.
Now test your site. If everything works, the only blocking CSS/JS file left should be your combined CSS file, and nothing else.
Most likely some JS functions won’t work properly anymore. If this is the case, it gets a bit more complicated.
In this case, try the following:
Remove all the JS files in the Minify settings of W3
Open the source of your functioning page where no JS files are combined and manually add to W3 Minify ONLY the JS files found in the header (since these are the ones “above the fold”) and IN THE ORDER that they exist in your source file. Try this. If it works, try moving them all into the <body> or just before the </body> using the Minify JS settings.
In my case, I had a strange issue whereby combining jquery.js with the other JS files broke many js functions that depend on jquery even though they loaded after. To get around this I made jquery.js load on its own after <body>, and made all the others load combined just before </body>, with everything set to load using async.
Using this method, the only “above the fold” problem I have is the combined CSS sheet.
If your combined CSS is small, you can try inlining the entire thing.
If not, the only way around this that I currently know is to manually inline only the relevant parts of this combined CSS, and then to load the combined CSS in the footer using JS.
(END QUOTE)
-
This reply was modified 12 years by
simchris.
Hi,
I just installed a plugin that adds social sharing buttons below the content. I would like to add the block title as used everywhere in theme above it, but i don’t know where to add this code: <h4 class="block-title"><span>SHARE</span></h4>
Here’s a link to my website so you can have a look:
Normally i would have added it to the single.php file, but this theme builds up the posts differently than other themes. On my other websites i could just paste the code in the single.php. Also, i would like to place the previous and next post buttons above the sharing buttons.
Also, i want to add the facebook comment box below the share buttons and above the related content block. Where do i add the facebook code?
hello,
add this line:
$post_content = preg_replace(‘((( ht|f)tp(s?)\://){1}\S+)’,”,$post_content);
like : http://screencast.com/t/cTn1rNMG
Thanks for you message.
Radu A.
Hello,
Our developer still working on that.
Thanks for your patience!
So first of all I’d like to thank you for creating an awesome theme. It really is doing its job on practically every level and so far I’ve encountered only 3 things that do not really suit me.
1. The scroll on mobiles is absolutely horrible for me (tested on Galaxy SII with android 4.1). Instead of going smoothly it’s choppy and requires me to tap the screen repeatedly to scroll up/down. Pointing out that the problem is not only on my site, same thing happens with your demo.
2. My website is in Polish so it requires usage of foreign letters (ą, ł etc.). All the letters appear just fine but when I turn on the tagDiv speed booster, the letters suddenly go lowercase arial (they’re just no longer being formatted).
3. Despite enabling the speed booster, google pagespeed is still throwing out that there is a ton of render blocking js/css (especially on mobile).
If you could help me resolve those 2 issues, I’m honestly giving 11/10 to this theme. Will immensely appreciate it!
I wrote about this problem here. 17 days ago and no receive response.
http://themeforest.net/item/newspaper/5489609/comments?page=41#comment_5417393
Ok can you please let me know if a solution has been found
Hello,
I notice that, we will take a look about this.
Thanks for the message!
livingsmarttv
I think Radu said someplace not long ago, it’s on his “to do” list for upcoming 3.0 version to have a more fancy search results template, or at least be able to assign a module to it or somesuch (you might have to ‘search’ this forum to find that post …).
I don’t work here, just watching my website migrate off one server to another which I have to do in blocks of four sites out of 50, which is really annoying. So, while the one monitor is doing that I’m surfing around wasting time, hence my playing support due here for a little bit 🙂
I Can’t do anything else productive at the moment.
Chris
HI
it’s in the folder with your theme when you downloaded “all files” off themeforest.
I think it’s
newspaper-tf/plugins/td-speed-booster.zip
disclaimer:
“tagDiv speed booster is still in beta! Currently it is affecting the theme customizer and probably some plugins. This plugin is for advanced users only. We are still working on it.
~ Radu”
When I post just a video from youtube the link shows on home page http://i.imgur.com/BzNF77e.png – how do I hide it?
For my site I’d like to use not only Adsense, but Russian local add sistem partner.yandex.ru too.
It uses Asynchronous code like:
<!-- R-88747-1 Яндекс.RTB-блок -->
<div id="yandex_ad_R-88747-1"></div>
<script type="text/javascript">
(function(w, d, n, s, t) {
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: "R-88747-1",
renderTo: "yandex_ad_R-88747-1",
async: true
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>
So if I put on site page nothing is shown =(
Please help to solve the problem.
I’ve decided against using it like this, so nevermind.
In order to display the category menu for this element, they have to be a child category of something. How can I make it work with top level categories? I want to have a ‘latest’ area, with the option of displaying different category’s latest posts.
Jus to update, I am using block 3 on home page.
Hi,
You can find the files here:
http://dl.dropbox.com/u/103580364/temp/forum/page-homepage-loop.php
http://dl.dropbox.com/u/103580364/temp/forum/td_block_3.php
http://dl.dropbox.com/u/103580364/temp/forum/td_data_source.php
There you can see the exact locations to make the changes.
mertnuhoglu thanks for the solution but…
[1]
inside “page-homepage-loop.php” no code:
$queryPost = Array(
'posts_per_page' => get_option('posts_per_page'),
'paged' => $paged
);
What code and where exactly to put this to work?
[2]
I’m using Template “Homepage – blank” and visual compser use ‘block 2’
and changed analogously:
1. I edit Newspaper/includes/app/shortcodes/td_block_2.php:
2. Where in the file ‘Newspaper/includes/content_builder/td_data_source.php’ insert the offset?
Such as?
extract(shortcode_atts(
array(
'offset' => 0,
'category_ids' => '',
'tag_slug' => '',
... ),
$atts
3. Where exactly (line number) to put this
$args['offset'] = $offset;
Please help?
Hello,
You can create a homepage like you want and you can select that page as font page from here: http://screencast.com/t/3VuEt2TLFXQ and also the same for the blog.
The theme is very flexible, you can create the blog page like you want with pagination and above you have visual composer for other block content as unlimited combination.
If you want, please read the theme documentation, we have some videos to http://import.tagdiv.com/newspaper/doc/
This will help you to understand how the theme work.
If you don’t manage it,m you can send us access to your WordPress and we will take a look. contatc@tagdiv.com
Thank for the message!
I don’t understand what size images to use, if I want to build a block 2 it says I should use 326 x 159 for the top images and 100 x 65 for the smaller images, so I went to an article and added a featured image in the 326 x 159 size, and in the block 2 top position it looks great, but when I click on the article and I go to the actual post the image is small and there is lots of white space around it, then when I ask the slider to use that article, the image looks tiny.
So the question is even if I add in all the different sizes how do I make the images show as all the right sizes in the different areas that they can go without either clipping the images or them looking tiny?
I guess I am thinking that only uploading the slider size images is going to affect rather badly my page load score even though I can see that it fills all areas.
Since this theme is meant to be able to have a quick page speed with tweaking how is this working if it does not select the right size image for the area in question.
I need to insert SKIN AD on bottom of the page. I have problems due to background settings. can you help me?
I have this CSS:
body {
background-image: url(‘wallpaperskin_1920x01080.jpg’);
background-repeat: no-repeat;
background-position: center top;
background-attachment: scroll;
margin-top: 100px;
}a#skinlink {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
z-index: 1;
}#skinlink span {
display: none;
}div.container {
position: relative;
z-index: 2;
}
and this code to put after body: