- NewsmagUsing the theme translations together with WPML
- NewsmagHow to update a plugin
- NewsmagCustom Post Type Support
- NewsmagAbove footer ads
- NewsmagWeather Widget
- NewsmagHow to update the theme
- NewsmagIntroduction
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagCustom ad spots
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
- NewsmagLoading image effects
- NewsmagCategory top post styles
- NewsmagSmart Lists
- NewsmagGeneral settings
- NewsmagTheme thumbs
- NewsmagtagDiv slider gallery
Hi
The easiest way it’s by using media queries with css like in this example:
@media(max-width: 768px){
.container-for-mobile{
display: none;
}
}
This code will load the same content on mobile as on desktop but will hide the container-for-mobile container on screens with the width bigger than 769px. For more details about media queries usage you can check this link: http://www.w3schools.com/cssref/css3_pr_mediaquery.asp
Thanks!
Hey guys. Will try to explain this as best I can. It might be long, don’t fall asleep 🙂
—
Last week I started having trouble with uploading media such as the featured images –was getting an “Http Error”.
On “larger” images 125k+ was getting “Internal Server Error” (see images included in folder link below)
Tried both WP image upload methods and still had the problem.
I thought it might be a server problem timing out or something. I Called the host company GoDaddy, they found no problem.
I then turned off ALL plugins and the problem still continued.
Then, I uninstalled the NewsMag Theme and put in the generic WP theme and the uploading problem was solved.
Reinstalled NewsMag and it started again.
I managed to get some images to upload but… Oddly… when they do upload, the file name but not the actual thumbnail preview appears in the in the library.
I ran the Regenerate Thumbnail plugin on individual images and that fixed it –I was able to post normally.
With the most recent post though, I can’t get it to appear on mobile (yes more complicated! haha)
I sent three images below for you to see.
One is of the post. You can see the main image of the girl with glasses smiling. When I try to post on Facebook, it’s not reading the featured image.
And in the other screenshot I sent you can see that the featured image is not appearing on in the Block (it does on PC but not on mobile –tried Safari and Chrome and cleared caches on both.
In other words, I’ve tried everything and something is still wrong.
Hope its’ something small I missed and you can help me out! here is the site http://www.everydaydiabetes.com
Love your service and your themes.
If you need a login, tell me where to send that info to you.
THANKS as always guys.
Bobby
https://drive.google.com/folderview?id=0Bw-CqnDB_21gWTFsOUxiY3ZHN1E&usp=sharing
Hi,
There is no ideal size. Different containers use different thumbs. You will need to assess the elements you will use on your site and make sure you have the proper image sizes that will fit the biggest container you use. Then you can check the aspect ratio for the images so they will not be cropped badly.
If the big grid 1 container is the biggest container used you can use images of 800×600 for example (in order to have high quality on posts as well.) The post template you use is again a variable in this as the big image templates 3, 4, 6, 7 and 8 require bigger images to display properly.
Hope this helps.
Hi,
Sorry but I cannot understand exactly what it is you want to achieve. There is no easy solution for changing the width. You need to be as precise as possible.
I can;t understand what a ‘sider width 300px’ is or what ‘change the chip’ means.
please provide more details with examples and a link to your website so we can see the changes. But keep in minf that I cannot promise anything because changing any width will be a big hassle. Like I said, many items will have to be modified.
Hi
You can modify the file corresponding with the header style used and add your code under the menu container. header is an example for header style 1: http://screencast.com/t/Sd3ksqnkfF Also you can use do_shortcode function if you’re using one of theme’s ad-spots to display the image: http://screencast.com/t/RejwRCvbd – http://screencast.com/t/2vlRSiLqwPk
Hope this help.
Thanks!
Hi
We cannot offer any review for Disqus plugin as it’s not tested to work with the theme. However from our reports this plugin works fine with the theme. For more details about how this plugin works you can cheek this links: https://disqus.com/home/channel/discussdisqus/?utm_campaign=kb_referral&utm_content=homepage_widget_link&utm_source=disqus&utm_medium=website
Thanks!
Hi
1. The code which render the ad-spots it’s located in td_block_ad_box.php: http://screencast.com/t/PqHOTJvI
2. I assume that that you want to display different ad-spots according with the post type displayed. To achieve that you will need a condition which check what post type it’s displayed and depending by result display a specific ad. Here is an example for header ad: http://screencast.com/t/4e9sKBons This is just a basic example about how can you check what post type it’s displayed and manipulate the ads according with the result.
You can create new ad-spots following the solution offered in this topic: https://forum.tagdiv.com/topic/how-to-add-more-custom-ad-spots/ and use them in your post types.
Using do_shortcode function and some proper conditions you can display ads according by the custom post type displayed. For more details about the function’s usage check these links: https://forum.tagdiv.com/topic/different-ad-tags-for-the-category-templates-vs-the-homepage/
https://forum.tagdiv.com/topic/sub-page-no-standard-top/ – https://forum.tagdiv.com/topic/header-ad-on-top-of-menu/
I hope this help but if you need additional informations please provide more specific details about what you’re trying to do and maybe I can help.
Thanks!
Hello:
The button colors are a bit tricky as they are pulled from visual composer. These are the exact colors supported by the button shortcode: http://screencast.com/t/X3KEA4YoVc but when you select a color, there will be another name to it. For example the ‘classic red’ will be named: http://screencast.com/t/KTNOIT3fa
I hope this helps.
Thank you!
Hey guys just wondering if you have all the variables/parameters that work with the button shortcode like this
[button color=”blue” size=”large” type=”square” target=”_blank” link=”http://www.google.com”%5DGoogle%5B/button%5D
Is there documentation on all available parameters and variables for the button shortcode? For example, which colors can be used (notice “red” does not work)?
Thanks!
The issue I have is since 14k posts have inline images in the main content as well as featured images. I need to hide .td-post-featured-image just on single posts. Trying to figure out what would need to be edited in td_module_single_base.php.
Example
http://2c6.950.myftpupload.com/agreements-ease-transfer-of-wwcc-students-to-uw/
Thanks in advance.
We put ours at bottom of the single template being used for our posts as default, and then the one other template being used for older content (where photo was already in the post). We only track posts, hence our reasoning there.
Note for tracking /AMP pages, we’re still testing the single pixel image tracker instead.
If you’re setting up PIWIK you should know what I’m talking about 🙂
Hello Sylvester77,
Please try to delete your above custom CSS code and try to implement the below code for each menu item and add the different color.
The code is ->
.sf-menu > li.menu-item-1169:hover > a:after {
background-color:red!important;
}
.sf-menu > .current-menu-item.menu-item-1169 > a:after, .sf-menu > .current-menu-ancestor.menu-item-1169 > a:after, .sf-menu > .current-category-ancestor.menu-item-1169 > a:after {
background-color:red!important;
}
.sf-menu > li.menu-item-963:hover > a:after {
background-color:green!important;
}
.sf-menu > .current-menu-item.menu-item-963 > a:after, .sf-menu > .current-menu-ancestor.menu-item-963 > a:after, .sf-menu > .current-category-ancestor.menu-item-963 > a:after {
background-color:green!important;
}
Please notice that above I gave you only an example how you can be done. You have to implement this method yourself…if you are not aware to the steps in this regard, please keep in mind that we cannot do this thing for you because require custom work and we cannot provide this kind of services at the moment, sorry!
Thank you for your understanding!
Hi
Unfortunately the plugin is not tested to work with the theme and we cannot guarantee it will work 100%. We have not tested this plugin and we have no idea of the plugin functionality in order to provide an answer.
I’ve checked you’re the posts that you provided as examples and noticed that if you’re using a feature image then the plugin does not generate any content. I suppose that there is a condition in plugin’s code which cheek if the post have or not a featured image and depending by result display its output.
Unfortunately time does not allow us to provide plugin implementation support. If you really want to use this plugin we suggest you hire a freelancer to help you with implementation. You can hire one from studio.envato.com
Thank you for your understanding.
Hi
You can’t target a post with css depending by its categories tags, it can be done only by the post id like in this example:
.postid-129 .td-post-date{
display: none;
}
This code will hide the post date for the post with id 129 but is not the best way to achieve that because if you have many posts from which you want to hide the date there will be lot of code.
This can also be done using a php condition in file corresponding with post template used: http://screencast.com/t/pNPy4Yfnur
if (!in_category('category-slug')){
echo $td_mod_single->get_date(false);
}
Note that this code will remove the post date from post html source, not only hit it.
Hope this help.
Thanks!
Hello srampia,
I am glad that I could help!
Thank you for your appreciation.
Hi,
Unfortunately, there’s no ideal size, if you want to display something to the left and right of the content area like for example – http://demo.tagdiv.com/newsmag_fashion/td-post-taylor-swifts-stylish-separates-in-germany-shop-them-here/ you have to take in account the content area width – http://screencast.com/t/gUzSJbQW9I and create a background image based on that – http://demo.tagdiv.com/newsmag_fashion/wp-content/uploads/2014/09/fashion-bg.jpg and use it like this: http://screencast.com/t/ZbPvjtikphb
For best graphic results you could use a full hd image (1920x1080px), make sure you compress it, you don’t want a large file, it will slow page loading speed.
Hope this helps!
Thanks!
Hello srampia,
1)If you want to adjust that white spaces, you have to use a bit of CSS code. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td-main-content-wrap {
padding-bottom: 0px;
}
.td-footer-wrapper {
padding-top: 30px;
}
.td-sub-footer-copy{
padding-left:0!important;
}
The result -> http://screencast.com/t/7nh7chMp
2)If you want to have your email address and telephone number on different lines, you have to add
tag after each line, like this -> http://screencast.com/t/QlsB7A0J and the result -> http://screencast.com/t/8fL6OG468
3)I have checked your website and I saw that you have some custom modification and also, for sub footer section you have width fix and that thing break the responsiveness. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-sub-footer-container .td-pb-row {
width: 100%;
}
The result -> http://screencast.com/t/NpPo9zb79jj
4)If you want to change the color of the footer text you have to use a bit of CSS code. Try the code below and add it in Theme panel.
The code is ->
.td_block_text_with_title {
color:red;
}
The result -> http://screencast.com/t/O5VXKwv2xA
Hope this helps!
Thank you for the message!
Hello
we are using an Ad Server like Open X (Revive) that serves ad units in this format:
——–CUT——–
<script type=’text/javascript’><!–//<![CDATA[
var m3_u = (location.protocol==’https:’?’https://www.xxx.it/revive/www/delivery/ajs.php’:’http://www.xxx.it/revive/www/delivery/ajs.php’);
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ‘,’;
document.write (“<scr”+”ipt type=’text/javascript’ src='”+m3_u);
document.write (“?zoneid=20&target=_blank”);
document.write (‘&cb=’ + m3_r);
if (document.MAX_used != ‘,’) document.write (“&exclude=” + document.MAX_used);
document.write (document.charset ? ‘&charset=’+document.charset :
——–CUT——–
It works perfectly on all the ad units: on each unit (for instance before the post body) I have mapped what above with a [shortcode] and therefore I place the shortcode in the ad definition in the theme panel.
I don’t know how to use the same approach for the wallpaper AD. Can you provide some hints?
Regards
I’m using the MultilingualPress plugin by Inpsyde to handle the multiple languages on my site. One of the features is that it puts a link in the post to the translations in other languages. This was working fine until I switched themes to Newsmag. Now when a post has a featured image, the link doesn’t show up.
So here is an example of where the link does appear.
And here’s one where it doesn’t.
Any suggestions on how to fix this?
Hello Sylvester77,
Unfortunately, our theme does not have such an option as the border color to be changed automatically depending on the color of the panel. I suppose that you are referring to this option from the theme panel -> http://screencast.com/t/X2D4UeCB and the result -> http://screencast.com/t/FcBATnp5jS4 It is not a simple task to implement this feature in our theme and for achieving that is required custom work. The simplest way to achieving that thing is using a bit of CSS code for each category page, using category ID. Please check the example below and try to do it in the same way in your side.
The code is ->
.category-87 .sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after {
background-color: red;
}
The result -> http://screencast.com/t/riXVKrIMXb
If you want to display more levels in our theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!
Hope this helps!
Thank you for the message!
Hi
I gave you only the code for sub-footer because according with this screen https://www.dropbox.com/s/6rh6brqk2ycuqeh/Screen%20Shot%202016-03-05%20at%202.53.07%20AM.png?dl=0 the error appeared in footer.phph file, so there was the wrong code.
I can’t provide the code for footer as I don’t know what footer template you’re using. However you can follow this screen and add the indicated conditions in the file corresponding with the footer template used: http://screencast.com/t/9O3A21aRpve9
For example if in theme panel you have set the footer template 3 the required file is td_footer_template_3.php
Thanks!
Hi
Unfortunately the block title field does not accept html/css code at the moment. This code is required to apply a different font for a specific word from block’s title. You will need a code like this one for example to insert two different styles inside same title:
<h2 style="display: inline-block">Title </h2> <h2 style="font-weight: 900;display: inline;"> two fonts </h2> <h2 style="display: inline"> on the same row </h2>
Here you can see how the code works in for block’s title and how works when it’s used as normal html: http://screencast.com/t/tna6q4Ah
To make the required filed support html/css code are required many custoizations and unfortunately I can’t provide a solution now. If you need this and you’re not aware of the steps you need to take in this regard my advice is to hire a developer to do this for you as we cannot offer custom services at the moment.
Thanks!
I mean, one article has 3 categories (for example). What category show in the big grid? How to choose one of them?
I noticed now that on the second affiliate mk campaign i have the same problem.
i will contact profitshare but i don’t think i will get any help from them, clearly is a problem with the theme.
Hi
You can customize block 7 to achieve a similar layout with block 16: http://screencast.com/t/78WoSHFWPdM9 To obtain this layout you need to edit td_module_5.php file like here: http://screencast.com/t/VttkbKNd
This is just a basic example. Our blocks can be customized in many different ways but this requires custom modifications in theme’s files. Also you can register a new block with your specific layout using theme API: https://forum.tagdiv.com/td_api_blockadd/ – https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Note that any customization require good coding skills in order to be accomplished so if you still need guidance on this or 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.
Thanks!