- ApiAPI – Top Bar Template – Introduction
- ApiAPI – Single Template – Introduction
- ApiAPI – Footer Template – Introduction
- ApiAPI – Smart Lists – Introduction
- ApiAPI – Thumbnail – Introduction
- ApiAPI – Category top section style – Introduction
- ApiAPI – Category top section template – Introduction
- ApiAPI – Modules – Introduction
- ApiAPI – Blocks – Introduction
- ApiAPI – Header style – Introduction
- ApiUsing the Theme API in plugins
On my homepage I have a block that shows 3 featured articles that I want readers to be drawn to.
I have then created a block below this which I want to show the latest Articles in, but I don’t want articles to show that belong to the featured category.
The problem is that my featured articles also belong to their respective categories so that when someone reads that article they will have a link to the category at the top, so they can view other articles from that category.
How do I set it up that my lastest articles do not show articles if they belong to the featured category
hi,
lets start from the begging, the reason way google is giving that “Remove render…..” is because when the source of the site get downloaded and loads into the browser it find resources like css and javascript files, font file, etc and the browser stop the downloading of the page to start downloading the other files (css, javascript files) and google says that is better to download the source of the page first and at the end to download other resources.
now that we found what happens, moving the css and javascript code at the bottom of the page – I think ???- it can be done by doing something like :
keep the style.css of wordpress, but put all the code in another css file, then
read the file and put the readed content between <style> and </style> in the
footer of your site (probably thru the use of hooks). do the same for javascript
files(need to use the <script> and </script> tags).
Now imagine that for every plugin that have css files and/or javascript files you need to do this reading of files and pasting in the bottom of the page. Is hard to do this but will insure that message “Remove render …..” will disappear.
==== about speed buster
all that td-speed-booster is doing is to move the javascript files from the header of the page to the bottom of the page. in theory this will have to increase the speed in google pagespeed application, but in your case seems that it fails, really don’t know way, this has to be checked.
Thanks for you message.
Radu A.
Hi,
Something went wrong there, do you have other plugins installed which can cause this? Please try to deactivate all plugin or one by one and see if the thumbnails works fine.
Also when add the link of the video and save or update the post check if you have the thumbnails there: http://screencast.com/t/zmdzMg43KZ
Thanks for the message!
@fabriciosahdo – please consider moving to a more powerful server and also read this thread to optimize your hosting account / configurations. We sell the exact code that is on our demo (100% the same) the difference is that our server is configured well.
It is very hard to get 90+ on pagespeed and the server configuration, all the plugins and ads influence the score. I personally invested over three weeks to optimize all the aspects of the theme to run as smooth as possible. On top of that Marius spent a lot of time optimizing all the resources.
The server response time at your end is not good: http://screencast.com/t/F32WTB4M5HoC this means that the server is not powerfull enought to deliver a page on time. It may be that you are not using a caching plugin (like the one we recommend – w3 total cache) it may also be from the fact that php is running with no opcache.
please contact me via email contact@tagdiv.com (add FOR RADU in the subject and a link to this thread in the email) I can send you the full amount paid for the theme back. I can also help you out to make it faster if you are on a vps or dedicated server. If you are on a shared host there is nothing I can do to optimize the server. I would also recommend that you test your server with another similar theme.
-
This reply was modified 12 years by
Radu.
You can use <h3> headings without worry about SEO; WordPress commonly uses <h3> for the sidebar and other subordinate headings, as they are two levels below the main page heading <h1> and a level below content subheads in the post which are usually <h2>.
You can think of <h3> as a utility headline for any element on page which identifies an area or section, and can also be used in the post as well.
Technically in HTML5, you can use any H tag within a container, or section, if properly defined.
Upshot: nothing to worry about. 🙂
THis might or might not help… but:
Try logging out, and clearing your cache in your web browser (I did that this morning); restart browser, log back in, then try download from your account “downloads” screen?
You may be connecting from a shared/pool IP address which pools all users, and ThemeForest might be counting all those who have downloaded from what they think is one location.
This has worked for me on other sites. I have dedicated IP here, so I don’t run into that anymore, but have in past.
-
This reply was modified 12 years by
simchris.
I am having an extremely weird issue with my website. On some web browsers the site is appearing as over sized. So the header expands and other typically static objects on the page grow in suit. Text on the page stays the same size. I have heard from several readers this problem exits using a retina mac, and I was finally able to recreate the problem using a XPS 14 with chrome. I have attached two photos opening the same page on the same computer using two different web browser:
Suppose to Look/IE:

Chrome/ Weird look:

Hi,
The ad system render the ads only on refresh. If you have 3 spots on a page you will have only 3 ads rendered not 12. Google doesn’t give you another ad when you decrease the screen size, only on refresh.
You can simple paste your Google AD code directly in file if you want to make a test and to see how it works.(in this case you will not use our ad system)
Thanks for the message!
Hi guys,
i would like to use google adsense full code using the normal ads funcionality (wp-admin/themes.php?page=td_controller.php&td_page=ads) because i want to use a block code and a link code just below. But there is a huge limitation in the normal ads funcionality using adsense. Because it is responsive and it is not designed by you to get adsense code, that funcionality is totally responsive and by that a mean, the ability to load all the ad formats for all the type os screen resolutions when the page is firstly opened so that it can get other ad format when the user just change the resolution on the fly (or rotate the screen of the tablet as an example).
The problem with adsense used there is that google adsense just loads a limited number of ad blocks, so if there are more than that limite, the ads won’t be shown.
Pratical example of the problem is:
– the user firstly enters a page in the site and in that page in a full desktop version (1200px+) there are three adsense ads to be shown, in 1019 – 1199px version there are other 3 differen and smaller adsense ads units to load, in 768 – 1018px another 3 different and even smaller and the phones version other 3 even smaller.
So if the funcionality tries to load all the codes there will be 12 adsense codes to be loaded. But adsense can’t show more the a limited number (it used to be 3, now is 6) so there will be at least 6 that will not be loaded. Imagine that the user enters the site via a full Desktop size, and the funcionality only can load the 6 blocks from other size version. The user will only see blanks in the 3 ad spots and will only see ads if he shrinks the size of the screen until he is using the format that the adsense loaded the 6 blocks successfully.
That said, what i need is to get that funcionality to be just like the adsense insertion version and by that i mean, i need it NOT to be fully responsive. I just want the site to load the 3 blocks in the resolution that the user gets in the site and if he by any chance changes the resolution (or rotate the screen in a tablet) the ads appearing would be the same three of the initial resolution that he was using when entering the site – maybe bigger than the size of the screen, but there’s no problem. That happens when using the adsense insertion funciolity and that’s not a big problem.
Please help me to find a tweak that a can explore to get that behavior, it is vital for me adsense strategy to start using in that way the generic ads insertion funcionality.
Waiting for a help here.
Best regards
Sérgio Sousa
Hi:
When I click on, for example: “Clone text block” icon, the Console throws this error:
ReferenceError: vcvc_guid is not defined
That leads to line 232 of composer-view.js:
model_clone = Shortcodes.create({shortcode:model.get(‘shortcode’), id:vcvc_guid(), parent_id:parent_id, order:new_order, cloned:true, cloned_from:model.toJSON(), params:_.extend({}, model.get(‘params’))});
Googling for a similar error, I found it on comments on ThemeForest, http://themeforest.net/item/uberstore-nextlevel-multipurpose-theme/7009376/comments where the Visual Composer is installed along with another theme, but the same error and the Clone issue.
Thanks
HI,
usually most social media will pull from your meta tags which is usually the featured image for page; most will only use JPEG or PNG images, not GIFs since those are not technically a photo and more often used for ads (put another way some social media SHOULD grab animated GIFS but don’t do so consistently!).
So, on your page you have no images for story on page, only a video, and the OG tags show this:
<meta property="og:image" content="http://thegeeze.com/wp-content/uploads/2014/05/Ibrahim-Hamato-Nothing-is-Impossible.gif" />
Which is an animated GIF from the video.
Most social media will
1) look for compatible open graph and meta image specified
2) image in post
3) images on page, such as logo or banner ad, if they can’t grab another image
But upshot … it’s sometimes hit or miss what image social media will pull. Twitter has become the best at this, and most of the time G+, but Facebook is really a dog’s breakfast.
You have no 100% consistent way to control images served to social media.
Often if you submit the link manually, you may have option to use < > arrows to select the image you want (Linked IN, and Facebook often work properly in this way). Sharing from buttons is *always* a little hit or miss.
-
This reply was modified 12 years by
simchris.
Hi,
thanks for reporting this, I’ve added this to our todo list so that other users can easily link the ads to adsense.
Radu O.
h1 tags should always be used for the de-facto title of the story and match the title tags in meta for Google, Bing and Yahoo.
Technically there should only be one h1 tag for the title/block title; however in HTML5 there is support for multiple h1 tags in sections/containers.
For other tags, there isn’t a necessity to have a h2 show before an h3 unless you have these defined for nested semantic purposes and have such defined for the “semantic web.”
So, (inside main or article semantic containers)
main
h1 – title
h3 – subhead
h2 – giant sub section in body
h3 – subhead for subhead
p – explanation for information
h4 – definition heads
p – explanation for information
h4 – definition heads
p – explanation for information
h4 – definition heads
/main
would be perfectly fine
h2 – h5 can really be addressed as merely headline “sizes” to show priority as a “section head” vs simply a paragraph starter in strong/bold. Put another way, it is best in a story to use a h4 vs simply a strong/bold sub-head for, say, new chapter sections of a book serial. Anything with an h tag is identified semantically as a headline of some kind.
H1 on homepage – this is typically not a huge issue with newspaper sites as there is little or no original content on the “front page” .. it all links to the content pages on the site, which is what you want found when spiders show deep-link content to searchers. So, what exactly gets optimized on the front page? You can end up fighting your own content if you’re trying to get your home page to rank against “awesome motocross videos” versus the actual index on your site of all the motocross videos – both can’t be the best choice for the site.
If you’re running a store/shop, then h1 on home page is critical for branding and bringing folks to home page — if there is substantive original content on the home page.
The theme doesn’t enforce AdSense TOS, it is just setup to allow you to follow their TOS better. Choose which 3 ads you want to show and leave it at that. You could use other ad sources for the remaining spots. eBay Network is decent.
Hello,
I have the latest version of newspaper installed but I can’t change the main menu font color from black to white. There is no option in the theme panel (see screenshot: http://www.autozirkus.net/wp-content/uploads/2014/05/newspaper.jpg)
On another installation (not latest version) there is an option to change the font color…
Could you please check that?
The website is http://www.autozirkus.net
Thanks!
Florian
@Donkified You bought something and are having a unique issue (One that hasn’t been mentioned anywhere on this forum or the comments on Envato) that Marius has generously offered to fix for you (Theme installation and setup is not a free service included with theme purchase). You have declined him access for a first hand look. I’ve done this kind of support before and first-hand is the fastest way to get it done. Relying on an inexperienced blog owner (No offense intended at all) to give programming details is always slow, frustrating, and barely eventually as effective as just looking at the code.
So yeah, CHILL OUT A BIT…
chill out? im chilled out. I bought something, it doesnt work, i want it fixed. Simples.
Marius offered to fix it more than once, you declined. Let him help. Otherwise…
As far as the white screen loading, Newspaper is a website them, not a WordPress admin theme. So if it’s going white on the backend it’ll either give you an error at the top of the screen in black text that you need to share with us here or there is a plugin conflict that’s causing this. Your site and this theme have been given major upgrades over the past month so a plugin not playing nice with everything is not only possible, it’s likely.
1. Deactivate and delete the Newspaper theme
2. Deactivate and delete all plugins
3. Re-install 3.9 from Dashboard -> Upgrades menu
4. Do NOT use FTP for the above instructions – use WordPress if at all possible
5. If you have to use FTP, make sure your client is in binary transfer mode before you upload anything
6. With only Jetpack and Akismet plugins (If you use them) installed or activated on the site, activate Newspaper
7. Test drive the site and see if it all works.
8. REPORT FINDINGS BACK HERE
Short of you correctly following those instructions you will need to let Marius on your site to fix the issue with your site (Thousands of other people using this theme without this issue means it is localized to your setup).
Make sure you are downloading the WordPress installable theme file from your Envato downloads panel and do not change the name or file extension. This theme does take longer to install on the WordPress theme installer – that’s normal. Every theme is a different size and themes with less than 30% of the features of Newspaper are obviously smaller files.
Make sure you have WordPress 3.9 installed!
You purchased this theme from Marius (tagDiv team member). Please make this easier and take his FREE help and give him access to your site. Others have done it and been very pleased with his work. He doesn’t make his living from the rest of us if he scams you.
BTW – I’m not with tagDiv, just another customer like you with a background in programming and design trying to help. The fact that other customers are speaking up for the theme and trying to help you says a lot! Think about it.
Hi,
The size have defined a best ad size for each section. If you want other sizes you can change it from here: http://screencast.com/t/3WtAYvSt68
Also no matter what size you choose from Adsense, the ad system will use only your ID data to manage the ads. (I mean if you get a code from Google to a 300×250 banner size the theme will display the recommended size banner for that area, for example Header section will show a 728×90 banner is is set to Auto)
Thanks!
Ok, so what I want is “style 1” (logo+ad) + menu. However when I add a 728 x 90 – Leader board from Google ads,you can’t see it at all as it’s obscured by the menu. To resolve this I tried moving the header alignment but it results in the ad covering the top menu or the sites logo being obscured by the top menu.
I have seen other sites using the leader board sized ads fine. So is there something I can do to resolve this?
Thanks
Hi guys,
Sorry I fixed the issue, what I wasn’t doing was applying all the correct “visibility settings” within the adbox widget.
However the other issue was applying custom ads e.g. just above the footer on every page, so please could you provide you email so we can discuss this?
Thanks
Hello Radu,
thank you so much for your research! I changed it in between and used a plugin for that (Simple ads Manager). It works, but it is not the most beautiful solution. Would be much nicer with a textwidget and html. If you find the time, I could change it back and you check it again? Or I had another idea: Would be nice, if I could use a tagdiv-block with a link to the page. Is that possible? Or can I use the blocks only for posts?
Anyways, I appreciate your help a lot – thanks!
Timo
Hello tagDiv,
First off,I would say this theme is great 🙂 But there is some improvements needed!!!!
Header Ad System bugs
I have noticed a lots of bugs this weekend. Which includes problems in the Header Ad System! When someone visits from a 7″ tablet, the Ad covers the whole logo! Although I’ve chosen to display 468×90 in Tablets! Please fix this ASAP. Here is the example: http://www.screencast.com/t/GmKD5f22QD5l
Main Menu Bugs
I am not sure if its a bug or not. But there is some features for the menus, I am going to suggest. First off, please add a feature to show different menus for small display (mobile,tablets)! Cause if someone visits from smaller displays, the items at the end (main menu) goes down! Which is really bad…PLEASE FIX THIS ASAP!!! here is what I’m talking about: http://www.screencast.com/t/PNLvhx6JO0pk
Small/post sliders bugs
Another bug I’ve noticed that the small sliders doesn’t displays the whole image! The sliders crops the images and leave some space in bottom! PLEASE FIX THIS ASAP!!! Ex: http://www.screencast.com/t/YBdLjupIeb
Suggestion:
I have seen a lots of themes/sites uses dividers to divide everything. From ads to sidebar widget. You can look through The Verge for example of their dividers. I would love to see divders (horizontal and vertical) between every widget, sidebar, just like The Verge. Also, add a feature to Disable and Enable this feature, if possible. Please add this in the next version and don’t say “we will discuss this later”. tagDiv haven’t finished any of my request till now!!!!! So, please do this as quickly as possible.
Thanks!
Mehedi
Hi,
Sorry but I think you misunderstood my questions, I’ll try again…..
1. Yes I added the adbox to the sidebar of the homepage but it doesn’t appear on the homepage sidebar, it only appears on internal pages e.g. article post pages. I have tried to resolve this by changing the visibility settings for the adbox to specifically select “front page” (as well as various others) and still no change occurs? What may be the problem or may I be doing wrong?
2. I also have two separate adbox’s in the sidebar, however I’d like to make them have two separate ads appear in them i.e. two separate google codes, as at the moment I assume they are the same ad loading twice on the same page?
3. No I don’t want the ad to appear at the end of the article, that’s what I have at the moment, what I want is for the add to appear further down, below the article, just above the footer.
Thanks
Hi TagDiv!
Once again, big thanks for your work with the great theme.
After using the theme since november Im looking forward to work and develop my web site for a long time with Newspaper theme.
And I have some wishes for new/more places and areas on the design for earn more money.
1 – An “Ad space” on aboslute top of the site, over the logo-area. I use the 1170 responsive design, and if I could put a 980 pix wide google ad in the top I (and other Newspaper license owners) could increase the Google Adsense income.
(I even had an idea that put 3 x 336 adsense banners in top, not fun for design people, but more income to the wallet is always nice)
2 – Have an extra “Ad area” in a full right column, both for Google Adsense and for others. If I use the 1170 pix design (and even more the 980) there will be a lot of unused areas on the screen. Why not put ads and earns some money. So, if there would be an option to put on a extra right column that you could fill with banners it would be great. of course it should disappear when the screen in smaller.
3 I have a third request, that is if there in the future could be an possibility to have a small small headline above the banner / ad saying “Ad” with option to local translation.
Many thanks.
Niclas
Anything that connects to multiple external systems and has to get a response will slow down the site; everything like recaptcha, jetpack, adsense, social plugins which “go out an get data and then bring it back to cache” and similar — all slow things down since it’s not happening “locally.” (As I’m sure you already know.) You would likely disable the theme’s function to “count” reads/shares from other sites, and try using something like AddThis which can also do this for you. Ironically, the reason the calls to the APIs in the functions.php is done to avoid having to use external plugins and for most of us makes site run faster than using external plugs. But every site is different, and part of the development process is picking/choosing how to add/adjust things on page for best user experience and performance.
Note also that WP-Postview was updated this week to address issues folks were having with Ajax and Cache, so might be worth revisiting that setup with new version.
Not sure if that helped at all, but my two cents.
Hm. Weird. On my two sites the “responsive” AdSense units are auto-centered in the sidebar on every page. See test site: http://ga-ga.com/ … and I didn’t put in any special code to center it. Note things will NOT auto-center when resizing the page, in some cases.
For best results may sure you choose the responsive / experimental ad units from your AdSense accounts and not the static pre-sized units.
Without seeing the page and the possible code conflict from another plugin you might be using, it’s hard to tell. Marius will ask for a link to your site to look at it.
It *should* center automatically.