Search Results for 'amp'

Results from the Forum
rausantaella
Participant
#0

Hello guys. I’m trying to make a comparison between old and new —like, for example, five houses and their reforms. I want to show old and new with different texts but with the same number, for example:

1. House of X
(old photo)
Text
(new photo)
text.
2. House of Y
(old photo)
Text
(new photo)
text.

When I do this, the second image disappears. Any way I can make that image go back there? Any way I can make two sections with the same number?

For now I’m going to publish the list as a normal post, but a way to earn extra page views would be appreciated. And I need to show the two pics under the same section!

Bogdan B.
tagDiv Staff

Hi,

You have to copy and paste the image on your server and then use the ad code like so:

<div class="td-all-devices"><a href="the link the ad provfider sent you"><img src=the source path where you placed the image"/></a></div>

You can paste the image anywhere on your server as long as you add the correct path in the code above. Here is an example of the ad code with an image and url:


<div class="td-all-devices"><a href="#"><img src="http://192.168.0.70/newspaper7/wp-content/uploads/2016/09/rec728.jpg"/></a></div>

I hope this helps.

nairolf
Participant
#0

Hi tagDiv,
I tried to remove query string from all resources.
Mention: whit the plugin Speed-Boostser activated or not allways bring the same results, so discarded.

So, using functions like:

function remove_cssjs_ver( $src ) {
     if( strpos( $src, '?ver=' ) )
         $src = remove_query_arg( 'ver', $src );
     return $src;
 }
 add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
 add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );

or

function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

… for all other resource works but only this resources are untouched:

  1. http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700&ver=7.4
  2. http://fonts.googleapis.com/css?family=Roboto:500,400italic,700,900,500italic,400,300&ver=7.4
  3. http://domain.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=7.4
  4. http:///domain.com/wp-content/themes/BT/style.css?ver=7.4

Why is not possible?

I know that this practice ensure you that the browser will not be able to store them in cache and users allways will see the right version from each update.

Thanks.

jad
tagDiv Member

I’m testing NEWSPAPER offline with MAMP.
My website is melarumors.com

Bogdan B.
tagDiv Staff

Hello,

The top menu cannot be moved below the main menu by default. You can either choose a header style that has this option like header style 12 for example or you can try to alter the theme code for the header style that you use if you know your way around coding: http://screencast.com/t/rViYwglsCe

Thank you!

Catalin
tagDiv Staff

Hello johel,

If you want to insert this feature in your website, please notice that you have to edit the core file which corresponds to your header style used. For example, if you are using the Header Style 1 you will have to edit the code from the header-style-1.php, like this -> http://screencast.com/t/EBvSwZuPZm For more information about this element you can check here -> http://www.w3schools.com/html/html5_audio.asp

Hope this helps!

If you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom implementation at the moment, sorry!

Thanks.

Catalin
tagDiv Staff

Hello kaidensharma,

If you want to move to the left your logo, please notice that you have to use a bit of CSS code to do that. As an example, you can use the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td-header-style-3 .td-header-sp-logo {
margin-left:0;
}

This is a basic example which you can use it to adjust the position of your logo. Please notice that all of these modifications are custom and if you want to bring good results you should implement itself all of these. Also, if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for your understanding!

nairolf
tagDiv Member

Hi @sibinfotech,
There is no issue with the theme regarding what you describe until there is an incompatibility with some third plugin or cache misconfiguration.

It can occur for many reasons:
You are using some plugin (which?) of cache? (you’re cleaning after any modifications?)
How about third plugins, special this one “Yop Poll”.
what change have you done lately?

Also you have some errors &amp; advertence on console!

nairolf
tagDiv Member

Hi @stigr,
Is not a bug and it has never been. I visit your site on mobile and works well (as it should).
Clear your cache from the mobile browser &amp; try again

Aldemi
tagDiv Member

/**—- <div class=”tbnet-gadget”>
<div id=”tbnet-classificacao”>Carregando…</div>
Série B
<script async src=”htt-p:/-/gadgetsparablog.com/ws/tabeladobrasileirao/script?funcao=classificacao&amp;campeonato=serie-b” type=”text/javascript”>
</script>
</div>—-***/

  • This reply was modified 10 years by Aldemi.
Aldemi
tagDiv Member

Good morning Catalin

Look I made the alterations to the file as you instructed me
really it worked, but there is still a small problem
I tried to change here with css, but I did not get success

see what’s happening
look at the image – Table 1
Table was stretched deformed
occupying the total page space

http://www.screencast.com/t/kPCtFtTHJ0Y

how to center to stay with official width of the page?

I would like to stay in accordance with the image – Table 2

http://www.screencast.com/t/a2EI40vzpw

this is the code I am using to insert the table on the page
see the picture and the code:

http://www.screencast.com/t/rChKP4ShKmh

<div class=”tbnet-gadget”>
<div id=”tbnet-classificacao”>Carregando…</div>
Série B
<script async src=”http://gadgetsparablog.com/ws/tabeladobrasileirao/script?funcao=classificacao&campeonato=serie-b&#8221; type=”text/javascript”>
</script>
</div>

Thank you Catalin

timventura
Participant
#0

I’d like to set our font weight for some text elements to 300 (light). The style now, for sites like CNN & others, tends to be going to an 18px, 300-weight font, so I’m at least going to try that with Newspaper & see if I can make it work.

I read through the existing support documentation – it requires you to edit lots of files to add the 300-weight font. When I opened up those files to check, it appears that Google Fonts is already loading 300-weight!

However, this font-weight is still not available from the dropdown menu, even though it appears that TagDiv has already made adjustments to the backend files to load it.

How can I enable 300-weight fonts in the dropdown? For Roboto & Open Sans, those are the only 2.

kibiribi
tagDiv Member

Thanks a lot for your time and comment.
1. Posts were disabled – screenshot – http://screencast.com/t/PtYvtSmCHm
2. I don’t have cache control plugin in wordpress. (for example – WP supercache etc.. )
But black labels are the same.
I tried to refresh browser F5, Ctrl+R – all the same – http://screencast.com/t/iojz7Vi1Nsw

nycinsider
Participant
#0

My fontawesome icons are not showing correctly. They worked perfectly for months but now have disappeared – when referring to the numbers, not the icons by name. So for example, this is in my CSS code:

#ticketprice h2:before {
content: ‘\f145’;
font-family: ‘FontAwesome’;
color: #FFF;
padding-right: 10px;
font-size: 1.6em;

The icon (again, this worked perfectly for months) is now just showing as a small missing square and not the fa fa-ticket it’s supposed to be. It’s not the code – it is that somewhere a file is now missing. Please don’t try and troubleshoot the CSS (when referring to icons in CSS, it works better with the number file, not the fa fa-ticket)…but tell me where I can find/add the file that should make this work? For the record, I can add fa fa-ticket via Visual Composer and that does work….but I need to get this specific code to work. I let some idiot developers help me troubleshoot something last night and they took down my entire site. I’m trying to put it back together. Thank you.

nairolf
tagDiv Member

Wordpress dashboard / Settings / Reading

https://codex.wordpress.org/Settings_Reading_Screen

If you start now with WP here you have good stuff to search &amp; learn: http://www.wpbeginner.com/

kibiribi
Participant
#0

I’ve got those settings for archive in the template – http://screencast.com/t/OH9eCHEa
Here it is live example of page – http://prosto.ebibka.com/category/garmin-fenix3/
How to change paginator settings? I don’t want to show only 4 items.
For an example, I want to show 10-20 post on one page.
Is it possible?

it shows all the same
whole 2016 – 4 items – http://prosto.ebibka.com/2016/
this month – 4 items – http://prosto.ebibka.com/2016/09/

Acc. to this article – https://codex.wordpress.org/Creating_an_Archive_Index
it’s not clear how to do it myself. 🙁
Could you let me know please.

jsup
tagDiv Member

Hi Bradkrauza,

I have seen this happen when older versions of the Newsmag style sheet when a custom CSS has been added somewhere – upsetting their placeholden span hacks.

I can see in this example that on your style sheet you have .td-pb-row [class*=”td-pb-span”] adding in a margin of -99998px and then a padding of 99999px.. – You will find it on your style sheet at around line 1438 (style.css)

I seem to recall the TagDiv guys did this type of hack in Version 2 of the code – don’t think they do it anymore… Are you running V2 code? If so, maybe a full careful upgrade to v3 is required here, or just remove the padding/margin element from the offending element – TagDiv people – any explanation as to why you guys put this big block in v 2.37 of the code – I ran into this once before myself, couldn’t figure out why you guys put it there…? It’s not in the current code..

.td-pb-row [class*=”td-pb-span”] {
border-left: 1px solid #e6e6e6;
display: block;
float: left;
margin-bottom: -99998px !important;
margin-left: 0;
min-height: 1px;
padding-bottom: 99999px;
}

I think if you took out the margin-bottom and padding-bottom, the gap would go away – but I don’t know why they did it in the first place, so something else will probably break.

  • This reply was modified 10 years by jsup.
Confidential
Participant
#0

I just upgraded to the new version of Newspaper that features the Say What template. Say What is nearly perfect for my purposes and I’ve found tweaking most things to my needs very easy.

However, I’m running into a BIG problem. On my existing sites I need the comment count box to display because it generates a lot of traffic. Readers what to see what other people are saying.

Previous Newspaper: I had it configured with Module 11 to display content on the main, category and tag pages. Under Block Settings I have Show Comment Count, Show Date and Author all enabled. This resulted in comment count displaying on post lists and in widget sidebars.

Say What Newspaper: Under Block Settings I have the same areas enabled, but comments do not appear in either post lists or sidebars when configured in the Say What VC template.

I am also running into a problem with [tagDiv] blocks showing the comment count icon as before when added to a widget sidebar in VC. I have [tagdiv] Block 21 activated in both the old version and Say What. Say What doesn’t show comment. regular widget blocks do.

I need a solution that displays comment counts when they are enabled. Is there a specific config that needs to be activated for comment counts to appear? If not is there a code hook that can activate it in custom code?

Below are examples of before and after (Say What) sidebar blocks.

Below are examples of before and after (Sawy What) post lists.

Amit
tagDiv Member

hello nano2408,

You can convert woff file to woff2 using online tools for example https://everythingfonts.com/woff-to-woff2

Check the following thread to use custom uploaded fonts
Check Method 2 https://forum.tagdiv.com/topic/how-to-disable-google-fonts-2/#post-135462

joventu
Participant
ViralPress - topic
#0

Hi,

Is the theme benn tested/compatible with viral-press plugin? This plugin is good for Viral news, lists, quiz, videos & polls…

Thank you.

doo
Participant
#0

Hello, i use shortcode [year] in my post titles and it works fine, but not in related articles/more from author when list of posts ajax loaded. For example – http://joxi.ru/xAevy9pSYoMpar. How can i fix it?

Shortcode:

if( !is_admin() ) {
	add_filter( 'the_title', function( $title ) {
		return do_shortcode($title);
	} );
}
nairolf
tagDiv Member

Hey @Chris
I’m not speak English fluently so maybe for some words my Google friend translator played a bad turn, if anything I said sounds bad, sorry, really I have no intention.

Of course it is a very nice detail from your part to share such info. Although I do not use it but I have a lot of friends that if. What I said is that it seems strange that someone as well known and such good reputation &amp; popularity leave in oblivion such project.

I use “pity” word (i think it is not right word for this proposition) in the previous reply, but my intention was to say that I feel sorry for those who use it.

Some time is very hard to explain in written words what you think.

nairolf
tagDiv Member

Hi @Chris, at least on Newspaper 7.4, is impossible to remove the query string with conventional functions for all resources.
Remain untouched: fonts, js_composer.min.css &amp; the main style.css

simchris
tagDiv Member

Note – if using a caching plugin or external service, they “might” be adding query strings to things to control caching. I remove query strings so things can be cached. But some other plugins can add them back to disable caching or modify how css and js are cached.

In my example code, on all my sites regardless of theme — not using any external optimization system / CDN, or caching plugin — it does remove the query strings ….

Also note all my optimizations started with newspaper then moved to newsmag and are theme independent as they impact how WordPress works, not the “theme,” unless something specifically says “/* newsmag fix*/” or similar. 🙂

Viewing 25 results - 31,301 through 31,325 (of 38,683 total)