- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Nope. Not author of the theme. You can, of course simply create anything in a text widget on the sidebar using CSS and by inserting your photo.
Not to be sarcastic but perhaps learn to look at the “page source” in HTML to see how things are actually done and rendered on the page, as in your example …
from the page source:
<div class="block-title"><span>About me</span></div> <div class="textwidget"><div style="text-align: center;"><img src="http://demo.tagdiv.com/newspaper_classic_blog/wp-content/uploads/2014/07/meee1.jpg" />
<h2>John Doe</h2>
I'm John and recently I've moved to Rochester, which isn't that far away, I do many things like writing articles and playing football.
</div></div>
-
This reply was modified 11 years by
simchris.
Then,
I tested here locally the version with the “sample data” and the plugin worked perfectly.
Of all thank you so: D
Well you are the author of this theme though right? Not trying to be sarcastic but if you are the author or supporting author then how was the one in your classic blog set up? The example I am referring to (http://demo.tagdiv.com/newspaper_classic_blog/). I don’t have to use Jetpack if there is another way.
Hello,
Was wondering if you can help me with something. I added a side Widget on my homepag called “About Me” (Image:Jetpack). I uploaded the image of myself that I want to have appear. It gives me an option to put in a caption but I am unable to change font or skip lines in the caption section. It pretty much takes all the text and combines it into a paragraph. Even if I skip a line while inputting text.
The blog sample that you have on you Newsletter theme (http://demo.tagdiv.com/newspaper_classic_blog/) has the the same “About me” widget but also has a name (in bigger font) and another paragraph that is not attached to the name. So I see that somehow this feature is available I just can’t figure out how to add a separate name or change fonts underneath the image. Any suggestions?
Not really a theme question, but more on how to use basic WordPress functions.
Often you can learn to use WordPress by doing Google searches for those who have already broken the trail for you …
e.g. google – “make wordpress category private”…
example:
http://johnlaudun.org/20110113-making-a-wordpress-category-private/
http://codecanyon.net/item/privatecontent-multilevel-content-plugin/1467885
@Chris S,
Not sure what “SmartMag” is as this is the “NewsMag” forum, but if you read my thread then you don’t need to worry …
it is clear that it is a normal error of writing, however, you write that is not a problem for new low traffic sites, I think that this is wrong, because a problem is always a problem, those who want to build a site knowing that just increases traffic begin serious problems?
@Emil G, I do not understand something, you say that using “Shim plugin” and use the normal elements of the theme, there are no problems, but if you use elements vc then it becomes a problem.
Example: If I create a new area with vc, this would create problems?
New area this example: https://forum.tagdiv.com/how-to-insert-ads-in-custom-areas-of-the-website/
-
This reply was modified 11 years by
davidewebcenter.
-
This reply was modified 11 years by
davidewebcenter.
-
This reply was modified 11 years by
davidewebcenter.
Thanks for the answer, but i need some more information.
I added code to comments.php so now it’s:
<?php
$num_comments = get_comments_number(); // get_comments_number returns only a numeric value
if ( $num_comments == 0 ) {
$td_comments_no_text = __td(‘NO COMMENTS’);
} elseif ( $num_comments > 1 && $num_comments < 5 ) {
$td_comments_no_text = $num_comments . ‘ ‘ . __td(‘KOMMENTARIYA’);
} elseif($num_comments > 5) {
$td_comments_no_text = $num_comments . ‘ ‘ . __td(‘KOMMENTARIEV’);
}
else {
$td_comments_no_text = __td(‘1 COMMENT’);
}
?>
But how can i translate it to my language now? I don’t see these new blocks in theme panel
Hi,
The caption for that post style not displayed because the featured image is not loaded default via WordPress, is taken via jQuery.
You can do something similar to this solution from Newspaper – https://forum.tagdiv.com/topic/image-caption/
Create a function for caption like this – http://screencast.com/t/KXhJRflC4O
// Show captions on template 6
function get_template6_caption($post)
{
$thumbnail_id = get_post_thumbnail_id($post->ID);
$thumbnail_image = get_posts(array('p' => $thumbnail_id, 'post_type' => 'attachment'));
if ($thumbnail_image && isset($thumbnail_image[0]) && $thumbnail_image[0]->post_excerpt) {
return '<div class="template_6_caption"><span class="td-block-author">' . $thumbnail_image[0]->post_excerpt . '</div></span>';
}
}
And call it in single_template_6.php – http://screencast.com/t/8hb8dcT1
<figcaption class="wp-caption-text">
<?php echo get_template6_caption($post); ?>
</figcaption>
Also you need to adjust with custom css in Theme Panel > Custom Css and adjust it like you wish: http://screencast.com/t/CXV7k88QP
.template_6_caption .td-block-author {
position:relative;
color:#ffffff;
background-color: #222222;
padding:5px;
}
@media (min-width: 768px) and (max-width: 1023px){
.template_6_caption .td-block-author {
top: -20px;
}
}
@media (max-width: 767px){
.template_6_caption .td-block-author {
top: -30px;
}
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Using a dot to remove the category base from your permalinks structure is not a well tested and an clean way to do this and from my research I’m not sure why the category base is removed when using a dot there or how this is working therefore is unstable and not reliable. Based on this article the post permalink structure needs to be set to /%category%/%postname%/ for this to work: http://premium.wpmudev.org/blog/removing-category-base-urls-wordpress/?utm_expid=3606929-32.jVSGECWYSiWZJXI3ODEEGA.0&utm_referrer=https%3A%2F%2Fwww.google.ro%2F
My advice is to use the plugin also mentioned there as just keeping it active will remove the category base: https://wordpress.org/plugins/fv-top-level-cats/
Thanks
Hi can you help me. I want to embed the banner above the header see example.
Thanks!
Header Ad – OK!
But Sidebar Ad not displayed((
I did everything you said:
Sidebar ad
<div class="sidead"
<iframe scrolling='no' frameBorder='0' style='padding:0px; margin:0px; border:0px;border-style:none;border-style:none; ' width='300' height='250' src="http://wlpinnaclesports.adsrv.eacdn.com/I.ashx?btag=a_1048b_8575c_&affid=4793&siteid=1048&adid=8575&c=" ></iframe>
</div>
Custom CSS
.sidead {
margin-left: auto;
margin-right: auto;
display: table;
}
What could be wrong?
Site: ultimatefighting.ru
-
This reply was modified 11 years by
bettingzone.
-
This reply was modified 11 years by
bettingzone.
Thanks for this code. How is it possible to change the date format in german, like 12. Mai 2015 (May,12 2015)?
And is it possible to include when the post was updated? Because some News get more information one or two hours later, like here in example:

Hi!
Tell me, why move the banners to the left (sidebar) and up (header)?
Default
https://www.dropbox.com/s/qwnwaa1su7azaz8/default.png?dl=0
With banners
https://www.dropbox.com/s/vc35y7gtnc9m8t1/banners.png?dl=0
Sidebar ad code
<iframe scrolling='no' frameBorder='0' style='padding:0px; margin:0px; border:0px;border-style:none;border-style:none; ' width='300' height='250' src="http://wlpinnaclesports.adsrv.eacdn.com/I.ashx?btag=a_1048b_8575c_&affid=4793&siteid=1048&adid=8575&c=" ></iframe>
Hi,
You can take a look to a boxed header code and use those divs(I don’t know what header style you use, but should work). For example header style 9 copy td-header-container from default style(boxed) and remove this class: http://screencast.com/t/dWmFyYU6PS – http://screencast.com/t/PRNAdF0Dk88
Thanks!
Hello!
I have been seeing a lot of inconsistency with Google Ads showing on mobile. They always seem to appear on desktop, but very inconsistent when I’m on my iPhone 6. It seems to be the artile inline ad that most often does not appear. Would you please take a look at this example post and let me know of any way to resolve? Thanks so much!
Hi,
I am using this opengraph plugin
Facebook Open Graph, Google+ and Twitter Card Tags
https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/
should i disable it?
is the theme by default has the opengraph embedded and for this above plugin its giving problem?
Thanks & Regards
Debarup
I want to place banner ads based on the post and category.
Example I have a category on sports
All sports related post are categorize under the sports category.
I want to place a banner ad related to sports but I only want
it to show under my sports category and not any other categories
I have.
Can this be done? If so how will I go about doing it?
Thanks
Hi,
I have checked your site and didn’t found any issues there – http://screencast.com/t/01gtkJr5HJx2
Did you solve the issue?
Also if you want to use another footer style you can change it from Theme Panel: http://screencast.com/t/s7c63qnGQ you can use for example Style 2 to keep Footer 1 column predefined and add your widgets in Footer 2 and 3 from widgets section – http://screencast.com/t/DcPYsQWqQOi
Thanks!
From the docs page:
note the example custom ad placement for each ad section;
header example custom ad code:
(code may not paste in here properly …)
<div class="td-visible-desktop">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-728.jpg" /></a>
</div>
<div class="td-visible-tablet-l">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>
<div class="td-visible-tablet-tp">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>
<div class="td-visible-phone">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-300.jpg" /></a>
</div>
-
This reply was modified 11 years by
simchris.
Well, you might try adding excerpts on your pages where you’re just using other’s content …
like your example link above – you have no actual content, and so FB tries to load the video you shared …
e.g. — look at your page source:
<meta property="og:description" content="Share on Facebook" />
You need to actually have something in your og tags for FB to scrape properly.
The theme doesn’t manage your Yoast SEO settings, nor does it manage Facebook. With actual content on your page and proper og tags populated there is not an issue sharing on FB with v1.71 of theme aside from the inherent inconsistencies of how FB scrapes material.
Does your example page “share” to FB properly using the twenty-fifteen theme ?
Hi, i´m trying to show more than 1 article on for example, http://pauravarino.com/category/digital-marketing/.
But i dont find where.
In theme pannel, i can custom “Category display view”, but only for the style of the module and the sidebar. Not the number of articles to show.
Could you help me please?
Thanks.
Setting the theme up again – biggest issue was how slowly everything was loading, but fixed that by going with MaxCDN. 2 things brought me back:
1. Theme flexibility w/post types
2. Support
I had some CSS for the theme before, and it’s in the ‘custom CSS’ in the theme options panel.
But I’m not seeing the results on the site: sunnyinkabul.com
For example, I styled quotes thus:
.td_quote_box p {
font-family: ‘PT Sans’, sans-serif !important;
color: #405952;
font-size: 20px !important;
line-height: 27px !important;
text-align: left;
padding-bottom: 16px;
margin: 0px;
}
But not seeing the results on this post:
http://sunnyinkabul.com/2015/03/24/why-the-us-wants-to-forget-about-female-afghan-pilots/
It’s still the same small font it was originally, center aligned, etc.
Facebook chooses how to show images based on several factors – size of original images, orientation, and the specific image set as featured in the og:image tag.
You have zero control over that, sadly.
Sometimes they capture with the image to side, then later it expands to full width. Only works usually if the image is rectangle, and large enough for their “large” image size.
The preview as in your example above isn’t always the “final” posted version on timeline.
Welcome to Facebook.
