- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Hi,
You need to inspect elements and target exactly each H that you want to change the color and font size. Use inspector from Firefox or Chrome.
Here is an example: http://screencast.com/t/h04pIe8BM
Thank you
Hey there,
I’m trying to use the tour section to make a book directory.
Unfortunately it doesn’t display right at all (see here: http://tinypic.com/r/3133nu1/8).
Of course I want the tabs under each other on the left side of the whole column with its content. Is this not the way its set up ?
What is wrong and what can I do?
Or what other way would there be to do this?
My code is this:
[vc_row][vc_column width="1/1"][vc_tour][vc_tab title="Jeff Chang" tab_id="1403338503-1-24"][vc_column_text]
<b>Can’t Stop Won’t Stop: A History of the Hip-Hop Generation</b>
Author: Jeff Chang (& Introduction by DJ Kool Herc)
Published: by Picador in 2005
Pages & Content: 546 pages of academic reading without imagery
Description: The book is more about the cultural resonance of hip hop culture than the musical productions of the genre. Chang did a lot of research for this book so for sure anybody can learn something about the cultural political significance of this movement, that goes deeper than its shining surface.
Buy here: Amazon
[/vc_column_text][/vc_tab][vc_tab title="Tricia Rose" tab_id="1403338503-2-75"][vc_column_text]
<b>Black Noise: Rap Music and Black Culture in Contemporary America (Music Culture)</b>
Author: Tricia Rose
Published: by Wesleyan University Press in 1994
Pages & Content: 257 pages
Description: In this book, Tricia Rose, described as a “hip hop theorist,” takes a close look at the lyrics, music and themes that’s predominant in hip hop, and discuss the most pertinent issues with the debates that surround it. She discuss racial politics, the criticisms of the police and government, and also the sexual politics of rap, misogyny, and female rappers’ critiques of men.
Buy here: Amazon
[/vc_column_text][/vc_tab][vc_tab title="Slide" tab_id="1403339231046-2-10"][/vc_tab][/vc_tour][/vc_column][/vc_row]
@Thakksy
at this point likely good idea to look at your error logs to see WHAT is happening when you get a database connection error. For example, you might have somebody attacking your site and using up resources which is another cause of dbase connection error (it last happened to us during the U S SuperBowl). This means blocking the site(s) which are using up your resources, such as port scan, or loading/scanning all your site resources over and over.
For us the dbase connection issue has always been
1) not enough memory, had to fix this with move to new web server in Dec/Jan – upgrade the “defaults”
2) overload the dbase from some bad search spider hitting the entire site over and over… you can try to “throttle” that – I think there is a directive for robots.txt for Bing and some others (or use IPTables to limit concurrent connections) to say only load one page per minute– but no guarantee it will be followed.
With (2) you can often look at your logs to see WHO is doing bad behavior, or some spider which is using your search engine to troll site for content bits, etc.
Hope that helped a little.
I downloaded and installed the theme & child theme.
After installing the demo data and activating the child theme, all pages look like this: http://screencast.com/t/Ww6tgvvR
They have an extra header above the logo. However, when I activate the main theme, it disappears.
I know it makes the test on server-side, thanks for your interest. Can you or anyone also let me know about my REAL pagespeed score? I have just installed a plugin called jQuery Colorbox and tried to edit speedbooster to not lose my high score.
developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fkadininrehberi.net%2F&tab=mobile
I’d be glad if you could click the link and write my score here.
I upload on my blog every 30 min a new posts. Does this affect something on supercache about time for example or not?
livingsmarttv,
Yes it is possible to not crop and only scale images. It gets a bit tricky with this theme though because it is set to crop every image(except the featured.)
In the functions.php file, you will find somewhere around line 320:
//featured image
$td_crop_features_image = td_util::get_option('tds_' . 'crop_features_image');
if ($td_crop_features_image == '') {
add_image_size('featured-image', 700, 0, true);
} else {
add_image_size('featured-image', 700, 357, true);
}
//the small thumbnails
set_post_thumbnail_size( 100, 65, true );
add_image_size('art-thumb', 100, 65, true);
//small height, 1 col wide
add_image_size('art-wide', 326, 159, true);
//medium height 1 col wide
add_image_size('art-big-1col', 326, 235, true);
//the slides
add_image_size('art-slide-small', 326, 406, true);
add_image_size('art-slide-med', 700, 357, true);
add_image_size('art-slide-big', 1074, 483, true);
//big slider - big image
add_image_size('art-slidebig-main', 745, 483, true);
//the gallery
add_image_size('art-gal', 210, 210, true);
Notice that TagDiv has built in the ability to turn cropping on or off on the featured image based on a setting in the theme panel, but you are asking for all of them.
add_image_size('featured-image', 700, 0, true);
In the line above, it is the ‘0’ argument that tells wordpress to adjust the height based on the aspect ratio of the image after it is scaled. To analyze the code a little more, what is happening with the ‘featured-image’ image size is that if them theme is not set to crop option then the ‘featured-image’ will be scaled to 700px wide and left to be however tall the image is. If you select the crop option, it will be scaled to 700px wide and then cropped to 357px tall.
You would need to look at which block(s) you are using and then determine which module the block is using to tell what image size it is. For example, let’s say your block uses td_module_2.php.
In that file, line 13 reads: <?php echo $this->get_image('art-big-1col'); ?>
If we look above at the functions.php entry, we see: add_image_size('art-big-1col', 326, 235, true); This means that if you upload a 1280×720 image, this will resize it’s width and crop it’s height to 235 pixels. If the scaled down image height is less than 235px tall, then it will scale the height to 235px and crop the width to 326px. This is not what you want. Rather, perhaps something like this: add_image_size('art-big-1col', 326, 0, false); This will take the image and scale to 326px wide and let the height be what it will be.
If you want make these changes so that updates to the theme will not break it, then you need to copy the image size declarations out of the theme’s functions.php file and put them in your child theme’s functions.php file and change the options. You might try something like this:
//featured image
$td_crop_features_image = td_util::get_option('tds_' . 'crop_features_image');
if ($td_crop_features_image == '') {
add_image_size('featured-image', 700, 0, false);
} else {
add_image_size('featured-image', 700, 357, false
}
//the small thumbnails
set_post_thumbnail_size( 100, 0, false );
add_image_size('art-thumb', 100, 0, false);
//small height, 1 col wide
add_image_size('art-wide', 326, 0, false);
//medium height 1 col wide
add_image_size('art-big-1col', 326, 0, false);
//the slides
add_image_size('art-slide-small', 326, 0, false);
add_image_size('art-slide-med', 700, 0, false);
add_image_size('art-slide-big', 1074, 0, false);
//big slider - big image
add_image_size('art-slidebig-main', 745, 0, false);
//the gallery
add_image_size('art-gal', 210, 0, false);
By setting all the height arguments to 0, we tell WordPress to always use the full height of an image relative to the horizontal scaling and by changing ‘true’ to ‘false’ we enable ‘soft crop mode’ vs ‘hard crop mode.’ Soft crop mode ensures your images will maintain their aspect and not have any cropping. Note, the 0 setting will make it so that any image uploaded that is not 16×9 aspect will be scaled and output at it’s own aspect ratio. This can break styling, but if you only upload 16×9 images it will be fine.
You would need to either re-build your current thumbnails or upload some new images to see if this fixes your problem(or creates others)
There are lots of gotchas here, and I certainly didn’t give you a definitive answer, but perhaps what I did say will help you figure out what combination of options will solve your problem.
Good luck!
These are ur best settings that will work great for the theme..
1. Cache hits to this website for quick access. (Recommended)
2. Use PHP to serve cache files.(Recommended)
3. Compress pages so they’re served more quickly to visitors. (Recommended)
4. Make known users anonymous so they’re served supercached static files.(Recommended)
5. Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended)
6. Clear all cache files when a post or page is published or updated.(Recommended)
7. Extra homepage checks. (Very occasionally stops homepage caching) (Recommended)
Expiry Time & Garbage Collection
I have mine set on 60sec for the “Cache Timeout” and 90sec for the Timer and the interval i have set to Once Hourly.
set that up so it clear out all ur stale files
and save ur settings and ur good to go
Hi!
I want to make the comment count for all the blocks look like TheVege.com. Someone from tagDiv sent me this:
—————————————-
You have to do something like this:
– wrap the image inside a div and add the post comments counter: http://screencast.com/t/ywUNcGIkRF
<div class=”image_f”><?php echo $this->get_image(‘art-big-1col’); ?>
<div class=”comments_b10″><p><?php echo get_comments_number($this->post->ID)?></p></div></div>
– use css to style the newly added counter: – http://screencast.com/t/n6KN8v8JJBu
.image_f {
position: relative;
}
.comments_b10 {
position: absolute;
right: 10px;
bottom: 10px;
z-index: 1;
color: white;
font-size: 15px;
line-height: 0px;
text-align: center;
background-color: rgba(77,178,236,0.9);
}
.comments_b10 p{
padding: 10px 7px 10px 7px;
margin: 0px;
}
.comments_b10:after {
position: absolute;
bottom: -8px;
right: 0;
left: auto;
content: “”;
width: 7px;
height: 8px;
background-color: transparent;
background-repeat: no-repeat;
background-position: -8px -87px;
background-image: url(http://cdn3.vox-cdn.com/images/verge/sprites/ribbongles.v51a515f.png)
}
———————–
I added the code and it worked, unfortunately the CSS for tag P connects with the other P. For example, the text colour for P is “#fffff” here, but it connects with the other P tag (content text’s css) and makes it black. It happens to the font-size and height as well.
How can I fix that?
Thanks,
Mehedi
Hi I check the old entries but I couldnt find something to get idea to fix my problem if I there is another topic written about it, sorry.
My problem is Category Megamenu, its work great and design well.
All my categories are without parent or subcategory in my site and there are more than10000-15000 posts in 9-10 category.
First Way: Create some parent category and change category to subcategory and move under parent category.
Problem: if I create a parent category and move old categories under that parent category, my urls will change, since I’m using /%category%/%postname%/ permalink structure, all links from social media and google will get Error 404 when people try to reach. Google is ok, it can reindex but as twitter and facebook. This urls cannot change needs to remove.
Normal url: http://www.site.com/category1/post/
if I change: http://www.site.com/newcategory/category1/post/
——
Second way: I keep categories same, and use Category menu without subcategory.
Home – Categories – Category1 – Category2 – Category3 – Category4 – Category5 – Category6 – Category 7 – Category 8 – Category 9 – Category 10 – Gallery – Authors Contact US
Problem: If I use like this; I’ve 9-10 category and the menu width will not enough to show all items, also second menu line will create and this line will cut megamenu.
If its possible I need something like this.
To create a Menu item like Dummy name (News example) links to blogpage, and I move categories under it and all that categories show as same as subcategory megamenu.
News http:///url/news/ <- works as Category on menu to create Category Megamenu.
-Category1 – works as subcategory
-Category2 – works as subcategory
-Category3 – works as subcategory
Thanks
Was there any resolution to this? I’m having the same issue on http://substreammagazine.com/
Review Description: http://cl.ly/image/2g371C0P280h
Review Overview: http://cl.ly/image/0h0O0O3j0L21
Homepage Block 1 (Using Modules 2 & 3): http://cl.ly/image/0O1f113U3b0Z
As you can see, the end of the link is getting pulled into these modules and it doesn’t seem to have anything to do with excerpts.
We are using latest Version of the Theme (Example Link: http://www.loomee-tv.de/news/alexander-klaws/)
Hi there,
After this latest update to version 3.9 I have an issue with search and breadcrumbs.
1. With the search the drop down option of related articles work but if I hit the search or return The resulting search page is blank with no returned results? Also I have a BG Image set but this is gone. For an example look at: http://coconutoilpost.com/?s=fats
2. With breadcrumbs the pages work but I have permalinks set to category / postname. The new breadcrumbs does not reflect this?
3. If I use the booster plugin the BG images dont work and the next article in the drop down also stops working.
Can you please advise.
Regards
Peter
Hi,
I would like to know how can we stop displaying a specific user (for example, Admin) when listing ou displaying posts?
My blog has many posts from Admin and I do not want to display the admin name or link.
I would like to see the admin posts without mentioning the author everywhere in the site.
Thank you,
Nice Update!
Found a Problem in the New Breadcrumbs with Quotation Marks inside the itemprop-Part. Where can I fix this? Happens in Tag-Archives!
Example:
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><meta itemprop="title" content = "News über "Justin Bieber"">News über "Justin Bieber"</span>
I’m the problem “Eliminate render-blocking javascript and css in above-the-fold content”. I do not know what else to do, would have any tips for that?
For those who want to see: http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.techtube.com.br&tab=mobile.
Sorry for my english.
Hi,
You have to add this class td_title_style_1 to the comments.php file like this: http://screencast.com/t/vvLn6Alg and the same to the td_module_blog.php file like this: http://screencast.com/t/nwu3tSniLO20.
Thank you
Hi
How do I get the comments and Similar Articles titles to show in style 1?
Estou com o problema “eliminate render-blocking javascript and css in above-the-fold content”. Não sei mais o que fazer, teria alguma dica para isso?
Pra quem quiser ver: http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.techtube.com.br&tab=mobile.
Desculpe pelo meu inglês.
I am voting with OuweAap, I want to show posts that are in both categories, for example the “May Issue” of the newspaper (which is a category), and the “life” category.
It took me an hour to work out that the filter is an OR not an AND combinator.
Suggest you add this to your documentation, maybe here:
https://forum.tagdiv.com/modules-and-blocks/
START
Category filters
To show items from more than one category add them here. (This is an OR filter).
No AND filter is available to show items that appear in more than one category.
Cheers
Miriam
Hello there,
When I tried to manually add facebook comments to the site by editing the theme, something went wrong in my comments.php.
I then put back the original code but the comment box still doesn’t show back up (see for example http://www.thetika.com/prominence-to-producers-evil-dee-beatminerz/)
What can I do?
hi,
When it comes to Google Analytics you have to check a solution from their end as thei are gathering Analytics data.
2)if a post is set as Video post you cannot use a Feature image, it will not be displayed , it will show only the movie frame.
in our theme if you set a feature image in a standard post, the feature image is showed at the top of the post.
Thanks for you message.
Radu A.
Thanks for spotting that error. Now the tabs are showing the first field “direction” which they weren’t before however the other problems are still there.
Problems
1. No content in the “Contact” tab
2. After clicking “contact” I cannot click back to the other tabs
3. Font is different when using tabs.
Examples
http://thegaypassport.com/fake-club-bangkok/
http://thegaypassport.com/one-night-only-bangkok/
http://thegaypassport.com/stranger-bar-bangkok/
Any ideas to what might be causing these issues?
Hi,
This is hard to do, you can look on how the “last 7 days” sort option is made, modify or duplicate it, make tests to see if it works properly and add the option o the blocks sort order section. If you don’t know how to doit you may have to hire a professional coder, you can find one on sites like http://studio.envato.com/ . Sorry for this.
You can also look for a plugin like – http://wordpress.org/plugins/wordpress-popular-posts/
Note that i didn’t make any tests with this plugin, it’s just an example.
Thank you, Emil G.
Hi,
You can use a plugin like Google Custom Search – https://wordpress.org/plugins/google-custom-search/
And modify the code here – http://screencast.com/t/yz0ZZLqlB
You can find how you can do that on their FAQ page – http://screencast.com/t/a9QmmkM7Zql6
Note that i didn’t do any tests with this plugin, it’s just an example.
Thank you, Emil G.

