Search Results for 'amp'

Results from the Forum
orlando
Participant
#0

Hi,

how can I put this code “dns-prefetch”

example:
<link rel=’dns-prefetch’ href=’//www.google-analytics.com’ />
<link rel=’dns-prefetch’ href=’//fonts.googleapis.com’ />
<link rel=’dns-prefetch’ href=’//pagead2.googlesyndication.com’ />
<link rel=’dns-prefetch’ href=’//googleads.g.doubleclick.net’ />

into the header of the thema.

Look your help.

ben.hinc
tagDiv Member

I understand. We are using one of the smart list styles on desktop that does not do this to images and we find that using a smart list is the best solution available for presenting this kind of information.

I have done a lot of customizations to both the main and mobile themes by tweaking the source code directly. All of these customizations have come from you and your colleagues’ assistance in this forum.

Are there any code changes I can make to the mobile smart list template that would stop this image replacement from happening?

Examples of changes I’ve already made to mobile:

  • Remove pagination on homepage
  • Change display of homepage block from “featured” to regular and offset the list below by three
  • Remove display of sister categories on category pages
  • Remove Whatsapp and Pinterest sharing options

As you can see, I’m not opposed to making changes when necessary and this smart list image issue is certainly one that has an impact.

Regarding using the responsive theme instead of mobile, this is not an option. We have promoted your mobile theme in particular as one of the reasons to visit our website and we won’t give up on that.

Any suggestions you can provide for modifying the code are appreciated. Thank you.

pacoesni
tagDiv Member

Ok. It’s not an issue. But ¿how can I change it?….that’s all I’m looking. It’s simple awful to my sigh. Look the example I posted at the beginning of this thread it look very very nice:

View post on imgur.com

Catalin
tagDiv Staff

Hello Shawn,

If you want to add more code in our theme, you should use the do_shortcode method and place it every want on the website. For example, the snippet of the code which you should add the theme core files should look like this ->
<?php echo do_shortcode('[td_block_15 custom_title=”Related News” category_id=”Related category id” limit=”10″ ajax_pagination=”load_more”]');?>
For more references about this methods, please consult the guide here -> https://developer.wordpress.org/reference/functions/do_shortcode/

If is not what you mean or if you have a certain section where you want to add your code, please provide more details so I will be able to provide a more accurate response.

Thanks for the message!

Nano
tagDiv Member

While searching on various other threads on the same topic, I noticed that there are ways to hide ads from the specific page using following code:


.postid-147 .td-a-rec, .postid-147 .td-g-rec{
display:none;
}

The result is here -> http://screencast.com/t/tz610oCpC

Notice : the .td-g-rec class is only for a Google Adsense AD and .td-a-rec for other ads.

Though, it is also discussed that to hide Adsense ads might go against Google’s policy. So, its better not to hide the ad but to stop ad placeholder from loading.

Bogdan was discussing something similar on how to remove ad placeholder from 404 pages on this thread: https://forum.tagdiv.com/topic/how-to-not-have-header-ads-on-certain-posts/#post-123574

Isn’t their any way to simply remove all ad placeholder from loading on any specific post? Please give a try to a solution for this.

You can very well notice that this issue is being faced by all of us, no matter whether they are aware of it or not.

I also noticed that many times, in other threads, it was advised to install any other plugins like Adrotate or QUAD.

I have a simple response on this. When we already have such a robust ad management system in-built in our theme, why should I use a new plugin for it? Shouldn’t we always try to keep numbers of plugins as low possible?

The ad-slots under TagDiv theme Ad manager is ( by default) built by taking Adsense into the consideration. Even Adsense examples are mentioned there, then why shouldn’t we try to improve its functionality rather than telling to use a new plugin?

I know that not everything can be integrated into a theme but if you do have such function. Please try to perfect it in future updates.

Just to give an example. There is a very popular theme on Themeforest called “BIMBER,” the developer didn’t want to work on ad section of the theme so, they collaborated with QUAD team and added the seamless ad-management system with this plugin.

But, since here we already have a very robust ad management option, we must try to make it fully worth of having it.

Hope you guys understand.

Love for TagDiv.

  • This reply was modified 9 years by Nano.
Catalin
tagDiv Staff

Hello Digitally,

Please keep in mind that you want to change the structure of the date for modules, you will have to edit the corresponding files according to your block used by you. For example, if you are using the Block 3 you will have to edit the modules which make up this block, like module 1, like this -> http://screencast.com/t/whTutD5OFRyy
You will have to use the following snippet of code, like this ->
<?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago'; ?> in the core file, like this -> http://screencast.com/t/ZZYWvi253eL1 Clear all your cache and check the results.

Hope this helps!

Thanks for the message!

Bogdan B.
tagDiv Staff

Hello,

Please use these examples to see how you can add another sharing option to the post sharing:
https://forum.tagdiv.com/topic/add-linkedin-sharing-button/
https://forum.tagdiv.com/topic/how-to-add-a-vk-sharing-button-on-your-posts/

Thank you!

Catalin
tagDiv Staff

Hello Chito,

Do you are referring to display the featured image only on modules/blocks and not on the post pages, right? So, if you want to do this, you should use a bit of CSS code to hide the featured image in the post content.

The code is ->

@media(max-width:767px){
.postid-78 .td-post-featured-image{
display:none;
}
}

The result is here -> https://www.screencast.com/t/GLPcCcCTCqh

You should use the certain post ID, like in the above example.

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thanks for the message!

PKP01
tagDiv Member

Thanks for feedback! Sorry to hear it.

Do you have example of css update on how to change font at least for body content and title in posts?

Thanks,
— Pawel

Bogdan B.
tagDiv Staff

Please provide a link to your site and an example of what this bar is so I can know fore sure it is the same separator as described in this topic.
Thank you!

Simion C.
tagDiv Staff

Hi,

Sorry that I misunderstood what you wanted, an example or a screenshot would have helped. If you want to hide it with css on a specific block or module, you can add it’s class before the code like this example

.td_block_12 .td-read-more{
display: none!important;
}

Thanks

konus
Participant
#0

How to remove – change description on google search: “A huge collection of 3400+ free website templates, WP themes and more http://jartheme.com/ at the biggest community-driven free web design site.”

https://www.google.rs/search?q=novinenovosadske&ie=utf-8&oe=utf-8&client=firefox-b&gws_rd=cr&ei=jAuPWJzAKYv7Upa3kuAI

Bogdan B.
tagDiv Staff

Actually no it’s not: https://www.screencast.com/t/1gxyt57c0 a public page does not require a login to access it
Here is an example of a public page: https://www.screencast.com/t/fXkkokyMw3
Thank you!

  • This reply was modified 9 years by Bogdan B..
Bogdan B.
tagDiv Staff

Hello,

And why have you not been able to install via ftp? What was the error provided there. It is a simple copy and paste technique Please use this guide: https://forum.tagdiv.com/install-via-ftp/

Please provide an example of what the error is when installing via ftp

Thank you!

Bogdan B.
tagDiv Staff

Hello,
Please provide an example of what the post slider you use is. Some of the elements in visual composer are not theme elements but rather ones that come from the plugin. They will not be changeable from the theme panel. Please provide an example of this element.
Thank you!

Bogdan B.
tagDiv Staff

Hello,

1. Unfortunately our theme ad system works across the whole site. It cannot activate or deactivate an ad for specific posts/pages. You will have ti use an ad plugin for such functionality. You can try adrotate for example

2. Well the file gets replaced so any at all customization to the theme files will have to be re-added. Please always make a back-up of your modifications as the theme files get replaced and you will have to re-add the modification after each update.
There is no update proof method of altering the theme files unfortunately

Thank you!

Shawn
Participant
#0

Hi We need a shortcode for related posts we want to put in other page how to do

example :[td_block_15 custom_title=”Related News” category_id=”Related category id” limit=”10″ ajax_pagination=”load_more”]

Thanks you.

orlando
Participant
#0

hi,

1. I have some problems with your td-speed-booster plugin version 4.5 does not work with plugins Cache Enabler and WP CDN Rewrite. Creating gaps post to google and GoogleNews.

I also tried Wp Super Cache, but caused a website blocking.

I want to bring in the footer deguenti file:

https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&ver=4.7.2

https://fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C700%2C700italic%2C400italic%2C300italic&ver=4.7.2

https://static.site.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css

https://static.site.com/wp-content/themes/Newsmag/style.css

https://static.site.com/wp-content/themes/Newsmag/js/tagdiv_theme.js

With your plugin could do it, I would need a code to be entered in the file function.php

otherwise you will have another solution with another plugin ??

2. Then another question, I can minimize the following files, on the advice of google speed, or cause errors:

/wp-content/themes/Newsmag/style.css

/wp-content/themes/Newsmag/js/tagdiv_theme.js

I look forward to new about and do not tell me I need a technician, otherwise return thema and I turn to others and make you a bad publicity.

luxechicago
Participant
#0

Hi. I want comment box turned off. With the latest update….it is appearing ever where as 0. How can I turn this off.

Also when you go into the post….the by author and date are messed update (the pagination)

Our website is stylechicago.com.

Please let us know how to fix ASAO!

PaTrocK
Participant
#0

Hi guys,

I love your work on the theme 🙂

I have two things I would suggest. Maybe you can decide if you can add it to the future feature list.

1) I want to be able to decide in which format the time is showing on every single module. You are pulling the time from wordpress. But if I change it there, it is changed also for every plugin that is also pulling the time from wordpress. If you could make your time format settings independend from the overall setting in wordpress that would be neat. Sometimes you want the hours and minutes at the time format of a module, sometimes you dont. To be able to decide how the time is showing in meta for every module and post template would be an awesome extra.

2) You are offering the possibility to change the landing pages of a category in the theme panel. Which is awesome. You can there decide to overrule some of the default settings on a per category basis. What would raise the bar is, if it would be possible to change Post template default setting on a category basis. For example if you have a catagory called newsflash, you maybe don’t want to show a featured image. So you would need to change the default setting to a template with a featured image EVERYTIME manually to one without an image. That is time consuming. If you change the default template to one without a featured image, you have to change it manually everytime in the other direction when you are writing a post that should have images. We are posting 5-10 posts per day, so to think about the post template settings on every post is a pain in the ass (so say it frankly).

So it would be awesome to be able to set a default post template on a category basis. To push that further you could also ad sidebar settings. So every post within a given category would be set to a special sidebar and a special post template.

Those two features are right now one of the only things missing for our setting 🙂
Maybe you could consider them, if they are “easily” done, possible and so on 😉

Thanks for your time.
Cheers
Patrick

indro
Participant
#0

Hello!

Is it possible to show the post’s time in the newsticker?

Thanks for your help!

Indro,

ffarci
Participant
#0

Hi.
Hi set the widget of Jetpack “plugin facebook page”, but i don’t understand why there is a black background behind the text “francesco farci” (for “articoli recenti” for example the background is red)
https://www.screencast.com/t/zXl4cSYrtdLn
How I can solve my problem?
thanks a lot

ffarci
Participant
#0

Hi!
I need to:
1. modify the font of the text logo. I tried modifying the css, as you told in this forum …
(“Hello ….,
If you want to change the text for your second line of your header logo text, you should do it from Theme panel, like this -> http://screencast.com/t/yDp2uMHI8Tkg
Unfortunately, our theme does not have any such an option that allows you to change the font for Logo text from the theme panel, sorry! If you want to change it you should use a bit of CSS code to load the new font for this section. For example, you can use the code below and place it in Theme panel->Custom CSS area:
.td-logo-text, .td-tagline-text {
font-family: ABeeZee;
}
Also, notice that the ABeeZee font should have to be loaded in your theme from the panel if you want that the code to be applied.)
…but I didn’t have the hope result!
2. I also need to reduce the size of the text logo on mobile, but I don’t know how to do.
I tried as you told in this forum…
(“Unfortunately the font family and font style can only be changed with css as the mobile theme has no font customization at the moment. You can use this method to load a new font with css: https://forum.tagdiv.com/topic/how-to-change-font-for-text-logo/
and then use this css to set the font family and size for the quotes on mobile:

@media
(max-width:767px){
.td-post-content blockquote p{
font-family:mycustomfont!important;
font-size:25px!important;
}} “)
changing 25x with lower size, but any effect has sorted.
How to do? thanks a lot

krjain123
Participant
#0

Hello –
Purchased new theme .. Have old site which has almost 1500+ posts with images in content & NO Featured image.

In your newspaper theme , it works on featured image / placeholder image.
How to show image from content in case there is no featured image in the contents…..

As soon as I activate the newspaper theme , most of the blocks are showing blank images.

Is there an easy way to show the content image if featured image is not part of the content. (This is for all the old content)

Thx for your help

ericatfitz
Participant
#0

Help! I’ve recently purchased the Newspaper 7 theme to revamp my website. The existing website’s theme, settings and contents are all being cloned to a new server for this purpose. Just then I’ve activated the newly purchased Newspaper 7 and installed one of the demos (News Magazine, include content), but found out I can not make any changes at all, even as simple as updating the Social Counter widget.

What’s the cause of this problem? Does it have anything to do with the existing settings with the old theme?

Thank you

Viewing 25 results - 30,026 through 30,050 (of 38,683 total)