- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
I am running Adsense on my inline ads and seem to have a problem between paragraph 3 and 4.
Serving Code:
<!– AdSpeed.com Serving Code 7.9.7 for [Zone] AR3 [Any Dimension] –>
<script type=”text/javascript” src=”http://g.adspeed.net/ad.php?do=js&zid=&oid=&wd=-1&ht=-1&target=_blank”></script>
<!– AdSpeed.com End –>
What is rendered:
<p>The imaging system was used with a patient who had chronic total occlusion, a complete blockage of the artery, which doctors said is difficult to clear using standard catheter-based percutaneous coronary intervention, or PCI.</p>
<p><div class="td-a-rec td-a-rec-id-content_inlineleft "><!-- AdSpeed.com Serving Code 7.9.7 for [Zone] AR3 [Any Dimension] -->
<script type="text/javascript" src="http://g.adspeed.net/ad.php?do=js&zid=&oid=&wd=-1&ht=-1&target=_blank"></script>
<!-- AdSpeed.com End --></div>
The system provides three-dimensional reconstructions of the artery and includes a hands-free voice recognition system allowing for zoom and changes of the images. The head-mounted display system allows doctors to capture images and video while also interacting with the environment around them.</p>
<p>In patients with chronic total occlusion, the standard procedure is not always successful, at least partially because of difficulty visualizing the blockage with conventional coronary tomography angiography, or CTA, imaging.</p>
Notice it is missing a closing and opening para-tag right after the placed ad.
Hello,
Apologies if this has been asked before, but I cannot find the relevant info on the forums.
I am using custom ads that are not AdSense and I am trying to add in a hyperlinks but it will not click-out to the desired location, but to my own website to a 404 Page.
Example:
<div class=”td-visible-desktop”>
a href=”EXAMPLE LINK”><img src=”http://www.mysite.co.uk/EXAMPLEIMGSRC
” alt=”EXAMPLE ALT TEXT” />
</div>
Where it has “EXAMPLE LINK” I have added the desired URL which clicks out of the site but this example list is adding on to my own domain e.g. http://www.mysite.co.uk/clickoutlink.
How can I change this code so the ad only clicks out to the URL I wish it to?
Many thanks,
P.S I have removed the code A HREF for the purposes of showing on the site.
Hi, I have problem with breadcrumbs. I have enabled breadcrumbs in settings, but they dont´t show on posts.
Please help.
For example look at this testing post: http://nasedeticky.sk/featured/59/nazov-clanku-c-10/
Thank you for reply Andrei,
Google’s crawler is picking up Soft 404 = https://support.google.com/webmasters/answer/2409443?ctx=MCE&ctx=S4
Please can you advise correct RewriteCond and RewriteRule:
http://*****/wp-content/themes/Newspaper/
So sends to 404 instead of page with this message:
Fatal error: Call to undefined function get_header() in /home/*****/public_html/*****/wp-content/themes/Newspaper/index.php on line 6
Hi SamuelWright,
You can change the background-color and text color within Wp panel-Appearance->Widgets, like this:
http://screencast.com/t/WJUJ9npm9H (this is an example for td_demo_category section with [tagDiv] Block 18).
The result you should see here: http://screencast.com/t/PrQmmdaN9U6
Hope this helps and let us know how it goes!
Also thank you @Arafat!
Hello,
It can be done only it will require custom modifications. Visual composer elements were not designed to work with category pages. You can add VC elements to the category page if you edit the core files either the template file or the top post file: http://screencast.com/t/aSHu4ciI and add a do_shortcode function
Every VC element creates a shortcode which you can see in text mode when editing a page. This shortcode can be used as the example above to force the page to display a block.
<?php echo do_shortcode('enter visual composer shortcode here');?>
It will require additional css to adjust the layout but this is the general idea of how it can be achieved.
Thank you!
Hi,
In php5.4, when uploading image (example: JPG file) to media library, it says “HTTP error.”.
In php5.3, all fine.
In default theme (not newspaper), all fine.
All fresh install. All the latest version. The problem occurs when in newspaper theme in php5.4 . Please help.
My site:
https://nopua.com
Admin login (Administrator level):
USER:
PASSWORD:
(don’t worry after the problem is solved, I’ll do another fresh install)
Thanks.
Hello,
Unfortunately there is no chart made specifically for it, but you can see which module is used on which block here: http://screencast.com/t/lWvC6U0iJO
The module is the basic element in our theme. Blocks are made from one or more modules. For example a block 1 is made out of 1x module_4 and 4x module_6.
I hope this helps.
Thank you.
Hi,
I’m having a problem with photos not showing up when i share one of the articles on Waleg.com on Facebook for example.
Is there a way to fix this, i never had such an issue with other template!?
Thank you for your help
I have used the code in documentation that should make me able to switch banner in different devices.
I have something like that, but in mobile (I use google chrome) can’t see any banner on my home page.
What is the problem? (site is zonawrestling.net)
<div class=”td-visible-desktop”>
<iframe marginwidth=”0″ marginheight=”0″ frameborder=”0″ scrolling=”no” allowtransparency=”true” src=”http://srv.juiceadv.com/banner_iframe.asp?user=379&tipo=10″ width=”728″ height=”90″></iframe>
</div>
<div class=”td-visible-tablet-landscape”>
<iframe marginwidth=”0″ marginheight=”0″ frameborder=”0″ scrolling=”no” allowtransparency=”true” src=”http://srv.juiceadv.com/banner_iframe.asp?user=379&tipo=10″ width=”728″ height=”90″></iframe>
</div>
<div class=”td-visible-tablet-portrait”>
<iframe marginwidth=”0″ marginheight=”0″ frameborder=”0″ scrolling=”no” allowtransparency=”true” src=”http://srv.juiceadv.com/banner_iframe.asp?user=379&tipo=22″ width=”300″ height=”250″>
</div>
<div class=”td-visible-phone”>
<iframe marginwidth=”0″ marginheight=”0″ frameborder=”0″ scrolling=”no” allowtransparency=”true” src=”http://srv.juiceadv.com/banner_iframe.asp?user=379&tipo=22″ width=”300″ height=”250″></iframe>
</div>
Hi servedaily,
Yes, it is possible to display an image in that gray box. You can set this within Theme panel, as background image, like that: http://screencast.com/t/AtlvgnQib and the image will be the full background of the page. In this category style, header container are transparent and practically in this container you can see the background image. http://screencast.com/t/6x3ZUf4ZrQo
Also, another possibility for you, would be to use a bit of Css to make some customization. Please try the code below in your Theme panel->Custom Css area to fix the problem, like this: http://screencast.com/t/gtGlwFvufE
.td-category-header.td-image-gradient-style8 {
background-image: url('enter your URL image');
background-repeat: no-repeat;
}
Note: If you want to follow the above option, please use a background color/image (white color for example).
Every category has an custom class set to it. You can get this class by inspecting the category page with your browser inspector: http://screencast.com/t/5uS8nYlTc6u
For example mine is category 66. So i would add this to the beginning of the code like so:
.category-66 .td-category-header.td-image-gradient-style8 {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b5/Winnersh_Meadows_Trees.jpg');
background-repeat: no-repeat;
}
Now the code will only apply to that specific category. So if you need to use the code for another category you can simply copy and paste it and change the category number and the image.
To achieve custom headers for each category is not a simply task and this things are required custom work. You can use another category_top_posts_style (1,2,3,4,5,7) for each category you have and it is necessary to create some function in php and shortcode in order to works fine. http://screencast.com/t/0DIS3Bzfxi
This is a complex task which requires lots of customization and if you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.
Hope this helps!
Thank you for your understanding!
1. I would like to have an advertisements below the top 4 posts on categories and tag pages. Here is an example (shown on the homepage http://www.sneakerfiles.com )
http://postimg.org/image/pl4oa5ver/
2. I would like to make the font in posts a bit larger and more profound without editing any of the other parts of the website.
3. Is there a way to edit the Mobile menu? On desktop I have two navi bars, one top and bottom but would like to include some of the URLS on the top bar (Like release dates) for mobile viewers but do not want to move it to the second navi bar on desktop.
Thank you for reading.
Hello tagdiv team,
I would first say big thanks for your hard work making beatiful adaptive hybrid themes. I bought both your themes and planing buy more. Good work, keep going, do not stop improving and updating!
I have couple questions for your team:
1. It is possible to make (future updates proof) custom visual composer element similar to “Block 21”, but with other sizes of featured images? For example I need to make 62×62 featured images ( with corresponding image margins and paddings) for special windows software news category with windows software icons.
2. It is possible to make this modifications to other visual composer elementas like “Block 7” ?
3. How to make my modifications updates proof ?
4. Do you accept paid modification services for Newspaper theme ?
For example we want to integrate post ratings (like: https://wordpress.org/plugins/rating-widget/) to specific news category.
Thanks for your answers!
Hello,
You will have to check the screen options to see if the homepage latest articles is ticked: http://screencast.com/t/AUo1q1edbG If it is. just deselect and select it again to refresh the option.
As for the pagebuilder under latest articles i cannot provide a quick solution for it. You could use the do_shortcode function to add content below the latest articles section:
For example use this code:
And add it here: http://screencast.com/t/dzWVQcfiD
This will force a VC block you set to it to display below latest articles.
I hope this helps
Thank you.
With the setup I am using, is it possible to set my mobile menu to display like this?
http://www.screencast.com/t/GSe6Y7UX
In this example the full menu is displayed and you can scroll across plus you have the option of the mobile menu. Thanks
Hi Chris
we did setup
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
on wp-conig.php and we run website on our own dedicated server with 48G ram, still not helping
do you have example on “plugins which reload jquery”?
thanks
How do I remove the scroll bar on the drop down mega menu? Also, how do I remove the All Categories options – I just want it to show my categories – no the “All” option.
Thanks
Is there a way to hide second level child categories on Mega Menu
For Example, I have
1. Parent Category
1.1 First level subcategory
1.2 second level subcategory
I don’t want to show anything beyond 1.1 on Mega Menu.
Any Solution?
This is done by using a text logo style instead of image (or of making an image with such a tagline). However, I notice that not all combinations exist. For example, you might not be able to get the ad and menu where you want it with a text logo. If you find this is the case, you would have to edit the PHP for the header.
If you mean for tags, I believe it’s the “theme accent color” by default. If you want to customize it, use some custom CSS in that part of the theme panel:
a {
color: #.......;
}
With specific selectors for post content, for example, and for when you hover.
If you’re not familiar with CSS, this will be harder, but the tagDiv team usually seems to be willing to supply a little in cases like this.
But if you don’t mean the tags at all, I’m as lost as Chris. 🙂 Maybe the colours your browser applies in the address bar, e.g. green for verified https?
There is a URL shown in page source code that returns a page with below error message. This shows as error in Google Search Console as crawlable URL without a 404.
Fatal error: Call to undefined function get_header() in /home/*****/public_html/*****/wp-content/themes/Newspaper/index.php on line 6
(function(){
var html_jquery_obj = jQuery(‘html’);
if (html_jquery_obj.length && (html_jquery_obj.is(‘.ie8’) || html_jquery_obj.is(‘.ie9’))) {
var path = ‘http://*****/wp-content/themes/Newspaper/style.css’;
jQuery.get(path, function(data) {
var str_split_separator = ‘#td_css_split_separator’;
var arr_splits = data.split(str_split_separator);
var arr_length = arr_splits.length;
if (arr_length > 1) {
var dir_path = ‘http://*****/wp-content/themes/Newspaper’;
var splited_css = ”;
for (var i = 0; i < arr_length; i++) {
if (i > 0) {
arr_splits[i] = str_split_separator + ‘ ‘ + arr_splits[i];
}
//jQuery(‘head’).append(‘<style>’ + arr_splits[i] + ‘</style>’);
var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) {
return ‘ url(\” + dir_path + ‘/’ + str.replace(/url\(\’/gi, ”).replace(/^\s+|\s+$/gm,”);
});
splited_css += “<style>” + formated_str + “</style>”;
}
var td_theme_css = jQuery(‘link#td-theme-css’);
if (td_theme_css.length) {
td_theme_css.after(splited_css);
}
}
});
}
})();
Hi,
Currently I’m experiencing some difficulties with the facebook post share function, I’ve tried several plugins and the issue is still the same.
There are “certains” description that shows up when sharing the post, which never happened before I migrate to this theme.
Example :
“Mali hotel attack: ‘No more hostages’ after special forces raid – Internetsukasuka.com” (Title) –> the title part is being shown correctly
In the description “(Categories)NewsNational, Mali hotel attack: ‘No more hostages’ after special forces raid 20 November 2015 Share at facebook Tweet at twitter The Radisson Blu Hotel was stormed by special forces after gunmen entered it and seized 170 people, many of them foreign guests.”
The line after the tweet at twitter is the opening line of the post.
Are there anyways to remove “NewsNational, Mali hotel attack: ‘No more hostages’ after special forces raid 20 November 2015 Share at facebook Tweet at twitter” this part?
Thanks
Are you using a captcha plugin which is hidden?
“empty answer” implies a Q&A left blank.
If using a captcha of some kind, likely need to edit the post template to add the element so folks can actually answer, or turn that off.
Might not be your issue, but very common one.
Hello… I’m using 2 custom ads which I have inputed correctly in between contents on my front page but they dont appear. They were there last month but not visible now. I’am using the same ad on top header & footer & they appear there though. Please help.. thanks
Hi there,
After login, when the user creates posts… that particular url is displayed as http://www.viralbae.com/wp-admin/add-post.php
can that wp-admin in url can be removed?
Example: http://www.viralbae.com/add-post.php
Kindly advice.