- 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
Hi Lucian,
Thank you for getting back to me quickly.
The excerpt font is fine, however, the post title is in a different font “Roboto Condensed” and I could not see how to modify this with the typography panel. Do I have to modify the style.css to achieve this:
.td_mod_wrap .entry-title a {
color: #222222;
font-family: ‘open-sans’,sans-serif;
font-weight: normal;
}
Hi,
You can find all font option in theme panel > custom typography both for posts/pages.
We thought this like when you want to change the page content you have to change the excerpt, block title, widgets title or page title.
If you want other type of content on your page you can target it and change it via css.
Thanks
Hi,
I have checked your site and noticed that the font it’s the same for all excerpts and the title also regarding block 6 http://screencast.com/t/yUzf4lM0
Also tested to the custom typography feature and seems like it works just fine for me.
Please provide more details if you haven’t managed to solve this.
Thanks
Hi,
1. For the first one try adding the rev slider and the text content like this: http://screencast.com/t/tIvpXH01
Result: http://screencast.com/t/cjKYuy8b
2. You can do it like @TheMediumUTM said and add it using custom layout http://screencast.com/t/avK5ot1Kn9c
3. Please provide more details/screenshot of what are you trying to archive and we will try to provide you a fix for it. I have tested the button and doesn’t seem to work we will look into this.
4. You can use this custom css in Theme Panel > Custom CSS filed to center the header main menu:
#td-top-menu .sf-menu {
display: table;
float: none;
margin-left: auto;
margin-right: auto;
}
Try this ones: http://screencast.com/t/athHle0z
Thanks for the suggestion, will add more in the future updates if more people demand this.
5. Like i suggested above you can use an “Text Block” element for that and you can chose a custom class and use it to change the font style by adding a custom css like this:
http://screencast.com/t/owpfgD3uXp
6. Like @TheMediumUTM suggested you can use a row and split the row into 2/3 content and 1/3 sidebar.
Hope this helps!
Thanks
I’ve got a strange issue with the visual composer plugin.
I’ve puchached the Newspaper 4 theme and received it together with WPBakery Visual Composer v4.2.3
The Big slider thats in Visual Composer works perfect with v4.2.3
After that, i purchased the latest version of WPBakery Visual Composer (v4.3.2). When i deactivate v4.2.3 and acivated v4.3.2 the big slider is messed up. The tree blocks that used to be on the right of the big block, are nog below it.
V4.2.3 – http://gyazo.com/2a245578565ab9710cff411f7a557126
v4.3.2 – http://gyazo.com/8e765bdb03cad867dfc78e5953522bbd
Thanks again!
JBH
Hi,
I believe somehow you have a block added in the top right widget area like this: http://screencast.com/t/IgPFd4kiw
You have to go to WordPress Dashboard > Appearance > Widgets and at the Top Right (Social) widget area please remove the block you have there, like this: http://screencast.com/t/I4u4rzG2S
Should fix this, like this: http://screencast.com/t/19NHXetana
Thanks
Okay as I am messing around with designing pages, I notice when I use a block it doesn’t show a preview picture with the post. Is there a button or something I am not hitting?
-
This reply was modified 12 years by
Rodney828.
This is the “clean” version:
blockquote {
padding-left: 15px !important;
border-left: 4px solid #ccc !important;
margin: 10px 0 10px 0 !important;
}
blockquote p {
font-family: 'PT Sans',sans-serif !important;
font-size: 15px !important;
line-height: 21px !important;
font-style: normal !important;
text-align: left !important;
color: #a5a4a4 !important;
}
P.S. Similarly, right now I’m organizing the homepage as a large featured area on top, then individual category blocks scrolling beneath that. I don’t care if the posts are unique between the featured area and the individual category blocks. But if I want to have two different blocks making up that featured area, I do care if the articles unique within those. I can’t use offset if I set it to random, and I can’t use unique because that would affect the whole page. So another feature request would be to have articles be unique between a given set of blocks… đ
No prob. As I think I said, I spent an entire month (January 2014) messing with this stuff, and a mix of Amazon’s CDN, our new server, mod_pagespeed, etc.
I think I mentioned someplace the flaw in Google’s speed algorithm, where one of my test pages got a 91/100 with 47% of page rendering due to blocking elements; combined some files, now only have one blocking element, but less than 1% is considered able to render before loading the main CSS file, and the score went up to 97/100 for desktop and 91/100 mobile with user UX score of 85/100, and the items for the UX score are stupid.
(Test this page, which doesn’t use CDN, doesn’t use WordPress:
http://www.send2press.com/services/ez_price_list.shtml
You can drive yourself to drink with this stuff.
And the super annoying thing is the new expectation by Google for all pages to load via https, which requires SSL cert, and to possibly enably mod_SPDY on server since https is inherently slower than http. But … that’s another story, and the one I’m suffering with now. (Sigh.)
Hi,
For this newspaper site, I want the blocks on the front page to show only the latest 11 posts in a certain category, but in a random order. I can’t set them to “latest”, because then the posts will always be in the same order. I can’t set them to “random posts from last 7 days”, because although there are updates mostly every week, it’s not active in the summer or on holiday weeks, so it would be blank at those times. Should I just clear out this featured category regularly so it always has at least, but not more than, 11 or so? Otherwise this would be a very useful feature.
This is what I did:
blockquote {
padding-left: 15px !important;
position: relative;
border-left: 4px solid #ccc !important;
margin: 10px 0 10px 0 !important;
}
blockquote p {
font-family: 'PT Sans',sans-serif !important;
font-size: 15px !important;
line-height: 21px !important;
font-weight: normal;
font-style: none !important;
text-align: left !important;
color: #a5a4a4 !important;
}
And this is result, which I’m satisfied about. If I made some mistakes in the code (or if there are some redundancies), feel free to correct! đ
Thanks,
Mario
Hi,
basically
blockquote p {
border-left: 4px solid #ccc;
color: #a5a4a4;
font-style: italic;
margin: 30px 0 30px 15px;
padding-left: 15px;
}
if anything doesn’t work add the important tag as in my first example, as it needs to over-ride the default style
-
This reply was modified 12 years by
simchris.
I am having lots of trouble with this theme. I load predefine styles and the big slider doesn’t work.I post listed as featured but it still shows nothing. I have no idea how to move the blocks around and build a homepage from scratch. I was looking over docks and it said to start a “new” page but how do you make that page your home page? The biggest thing is the big slider doesn’t work. If I could even get that to work I would feel I was getting somewhere.
Hi Christopher,
thanks for the advice. Is it enough to have the p tag or do I have to have two blockquote expressions in the Custom CSS?
Hi, I think you need the p tag in there with this theme (remember CSS changes need to match the classes used on the theme, not plain HTML which you’re writing from scratch).
For example I modified my own blockquote by putting this CSS into the custom CSS box in the theme admin panel:
blockquote p {
font-size:20px !important; line-height:26px !important; text-align: left !important; padding-left:20px;
}
-
This reply was modified 12 years by
simchris.
I use a plugin to actually upscale the image to new image block size, vs simply “resizing via CSS” — might not be what you want, but try “Thumbnail Upscale” plugin in the WP repository.
Hello,
I used the following CSS code to restyle the blockquote:
blockquote {
border-left: 4px solid #ccc;
color: #a5a4a4;
font-style: italic;
margin: 30px 0 30px 15px;
padding-left: 15px;
}
just like I saw in this page, but nothing happens. Any suggestions?
Thanks,
Mario
Ok FYI if interested, I reinstalled again yesterday because of the things Steven told me.
Well Chris- I still use the W3 Cache (page only) and wrote the rest of .htaccess by myself, like u posted in another thread. (little bit proud on myself that it did not crash đ )
Is everything ok with that or have any other suggestion?
See my current htaccess here:
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{SERVER_PORT} =443
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* - [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wptouch_switch_toggle) [NC]
RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
AddType text/javascript .js
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
# pass the default character set
AddDefaultCharset utf-8
# BEGIN Keep-Alive
<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>
# END Keep-Alive
#BEGIN GZIP
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
#END GZIP
#BEGIN CF ALLOW
Allow from 2400:cb00::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2405:b500::/32
Allow from 2405:8100::/32
#END CF ALLOW
As you can see I had to add the keep-alive code and other stuff like gzip- because otherwise GTMetrix would complain about that.
http://gtmetrix.com/reports/cherrykoks.de/4DKTK3Af I guess I can not influence the the both points about cloudflare?
The only thing I’m little bit confused about, is the fact that the mentioned code
foreach ($this->styles_for_footer as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
in the booster plugin causes my strings. Can I change that?
And:
in the Pagespeed guide from tagdiv I read this:
The plugin will move the theme and recommended plugins js and css at the page bottom. If you have other plugins installed you have to modify the Speed Booster plugin file so it will also move those files at end of the page. In the next section you will learn how to accomplish this.
4.2 To get the list of registered css and js add the following code at the end of the functions.php file:
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’ );
SpeedBooster plugin ist runnin as you know, do I have to change that as advised?
The sentence with “If you have other plugins installed you have to modify plugin so it will also move those files”
Other plugins means = every plugin I’m using? No problem to add this code to functions.php – just wanna make sure if this is right.
Even better still, you could add an option to the settings to set the tagDiv lightbox on or off for all linked images by default.
I quite like this idea.
Ok now, here’s the story:
I deleted my whole blog because still having issues. So I reinstalled everything new (had the demo running, now own build) I also thought, that Cloudflare would be the problem- but it isn’t (right now I don’t use CF)
Christopher Simmons helped me a lot- so I was able to solve a lot of things on my own.
But there are still some things I can’t handle on my own (seems like it) – and I’m on the edge of despair.
FYI my installed plugins:
tagbooster, W3 Total Cache, wpSeo, Code Embed, TinyMCE, Animated Gif Resize, Antispam Bee, Async JS and CSS, Broken Link Checker, Contact Form 7, EWW Image Optimizer, Jetpack, Query Strings Remover, WP DB-Manager, Google XML Sitemaps and the Visual Composer.
No matter what I do (installing Query Strings Remover or adding a code to the functions.php) I STILL HAVE PROBLEMS WITH THE “REMOVE QUERY STRINGS”
I really need someone to help me fix this or show me how to! I’m so helplessly I could cry over this!
I would like to start with adding content, but this makes me really desperate
The claimed files are:
Remove query strings from static resources
C (70)
88%
Content High
What does this mean?
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:http://cherrykoks.de/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/includes/wp_booster/external/bootstrap/td-bootstrap.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/style.css?ver=4.1
Next one is:
Specify a cache validator
A (90)
93%
Server High
What does this mean?
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1
http://gtmetrix.com/reports/cherrykoks.de/4u0OTZRR
Note: I use as fonts: Georgia and Times New Roman over the whole blog! I was reading a lot of threads with tips as “Comment them out” “delete it” and this is also not working. When I try to comment out in functions.php I get a syntax error. And to delete: I don’t know which lines, because my functions.php looks a little bit different.
The font problem also appears in :
Add Expires headers
B (89)
25%
Server High
What does this mean?
There is 1 static component without a far-future expiration date.
http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1
Page Speed Insights for example is complaining about the “above the fold” thing on mobile Devices and desktop, these are the same files- which GTMetrix claims with “remove query strings”
see here: https://developers.google.com/speed/pagespeed/insights/?url=cherrykoks.de&tab=mobile
Everything else is ok for me- but how can I solve the “few” problems.
I hope there’s an angel in this forum who can save me from getting nuts.
If someone of you needs any file information, let me know. I’m glad for any help with this!
Julia
Hi guys,
I’m really enjoying the theme’s flexibility with typography, however “Block 6 doesn’t seem to have changed on my homepage (near the bottom).
hi,
the above alone didn’t work, but this did:
.ie8 .sf-menu > li > a {
font-size: 14px;
overflow: hidden;
width: 170px;
white-space: nowrap;
}
best
Well…
#2 took me a WEEK to find the cause on my own
(one of these days I am going to insist on getting the support I deserve you know…)
but I will share the cause for the common good in case others have a similar problem.
Turns out my problem was probably due to using the Facebook official plugin (version 1.5.5) which caused pagination to stop working for some reason.
Until an option is added to the theme panel, you can style it yourself via custom CSS. Either do this through a child theme (https://forum.tagdiv.com/child-theme-documentation/) or through the custom css part of the panel.
Using “inspect element” on a widget reveals the classes involved. For the titles it looks like it’s .block-title. The class of a widget’s text often varies from widget to widget, and I’m guessing from stack to stack. In blog-stack, for example, a text widget’s content is class .blog-stack .textwidget.