Search Results for 'amp'

Results from the Forum
simchris
tagDiv Member

Well.. it makes the site compatible with the AMP protocol. If you read-up on what that is, it’s self explanatory.

It creates a super optimized version of page for mobile which loads at pagepermalink/amp/

I was curious of anybody had tried it yet with TagDiv themes, or just *any* WP website at all?

forgot to include link to plugin in repo:
https://wordpress.org/plugins/amp/

I guess the main thing it does is strip out javascript ?

Not a lot of info out there yet — like in our case running mod_pagespeed would it be necessary?

phclummia
tagDiv Member

hello again,

you are right i think. we dont know wp anvironment and newpaper settins well. first of all sorry for that.
we dont know also aspect ratio for thumbs. ı can put an example in our site.

on page layout –> http://www.caciksever.com/?s=bukurye
in post –> http://www.caciksever.com/bukurye-ile-motokurye-cebinde/

phclummia
Participant
#0

hello there,

we are use template and we like it. but we don’t know all settings about it. We want to make some changes on ourt main page but we dont know how it can be.

first of all, is there exist a way pin some posts to top. we are write some advertaisment post but we continue write something, so that the adv maybe goes second page. is there way pin posts to first page.

Our second questions is, in category main page there exist a carousel view. is there exist for main page or is there exist any choice about main page

For example our main page layout –> http://caciksever.com/
Category page layout –> http://www.caciksever.com/category/genel/

Catalin
tagDiv Staff

Hello comsolo,

For your first request, please try the code below to do lowercase your menu title and change the font-size of it. Place it in Theme panel->Custom Css area, like this:

.sf-menu > li > a {
text-transform: lowercase;
font-size: 19px;
}

The result you should see here: http://screencast.com/t/1v6JfvMLIo

For your second request, you can change the color of posts title if you use a bit of Css, like this:

.td_block_1 .td-module-title a {
color: red;
}

Note: Above, is an example for block 1. If you are using other block, you have to replace the number of block with the number of block that you are using.

The result: http://screencast.com/t/IlCADdeiJy

Here, http://screencast.com/t/2cK8YNlbeeNk , you can see what kind of modules are used in blocks and then you can change the font from Theme panel->Theme fonts to what modules are used by the blocks.

Hope this helps!

If is not what you mean, please provide more details about this.

Thank you!

TheMediumUTM
tagDiv Member

Ah, okay! So some of it has been updated. But also check this article, for example, which still says td_wp_booster_config at the moment: https://forum.tagdiv.com/td_api_blockadd/

Thanks for the reply.

Bogdan B.
tagDiv Staff

Hi,
The code works only the difference is minimal. I increased the weight and size of the font (weight 600, size 24px) as an example: http://screencast.com/t/SEQ0NjjwExbe
Thank you!

Alin [tagDiv]
tagDiv Staff

Hi,

I see that you use the old version of the theme, please try to use the code like this using these div containers:

<div class="td-visible-desktop">
<a href="https://www.racebets.com/sta/landing/generic/?p=58&amp;ap=631-295"><img src="http://www.alltomtrav.info/wp-content/uploads/2015/12/3e5eb6f628f9df00b2d69b24e87dcc21.gif" /></a>
</div>
<div class="td-visible-tablet-l">
<a href="https://www.racebets.com/sta/landing/generic/?p=58&amp;ap=631-295"><img src="http://www.alltomtrav.info/wp-content/uploads/2015/12/3e5eb6f628f9df00b2d69b24e87dcc21.gif" /></a>
</div>
<div class="td-visible-tablet-tp">
<a href="https://www.racebets.com/sta/landing/generic/?p=58&amp;ap=631-295"><img src="http://www.alltomtrav.info/wp-content/uploads/2015/12/3e5eb6f628f9df00b2d69b24e87dcc21.gif" /></a>
</div>
<div class="td-visible-phone">
<a href="https://www.racebets.com/sta/landing/generic/?p=58&amp;ap=631-295"><img src="http://www.alltomtrav.info/wp-content/uploads/2015/12/3e5eb6f628f9df00b2d69b24e87dcc21.gif" /></a>
</div>

Let us know how it goes!
Thanks

Andrei L.
tagDiv Member

Hi

You can achieve that via css like in this example:

.td_module_10 .td-excerpt{
opacity:0;
}
.td_module_10:hover .td-excerpt{
opacity:1;
}

Thanks!

Bogdan B.
tagDiv Staff

Hello,
There are blocks without featured images already implemented in the theme. These are block 9 and 10.
http://demo.tagdiv.com/newspaper/block-9/ and http://demo.tagdiv.com/newspaper/block-10/
You can alternatively use any other block you want just to hide all the featured images of that particular block. It is not possible to hide only certain images, but all images you can hide using this css for example on a block 4:
http://screencast.com/t/UWducKxoHBCe

.td_block_4 .td-module-thumb .entry-thumb{
display:none;
}
.td_block_4 .td_module_2 .td-module-thumb{
height:0px!important
}

I hope this helps.
Thank you!

Andrei L.
tagDiv Member
Patch - reply

Hi

If you update the theme from one version to another then you can use the patch provide within theme files, the patch contains just the modified files and can be used only if you update the theme from one version to another. For example if you’re using now V2.3.1 of the theme you can use the patch to update at 2.3.2 by replacing all modified files.

Hope this help.
Thanks!

  • This reply was modified 10 years by Andrei L..
  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hello,
The documentation was changed along with the update (one day late we admit it :D): https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/ – http://screencast.com/t/8Wr57w7mZ
We will update the classes as well as soon as possible.
Thank you!

  • This reply was modified 10 years by Bogdan B..
Stefan
tagDiv Member

Yes I have done that but it will not work 🙁

<div class=”td-visible-desktop”>

</div>
<div class=”td-visible-tablet-landscape”>

</div>
<div class=”td-visible-tablet-portrait”>

</div>
<div class=”td-visible-phone”>

</div>

http://www.alltomtrav.info

Andrei L.
tagDiv Member

Hi

For the condition you’re using in_category function which check if a post belongs or not to a specified category. To check if a category page it’s displayed you have to use is_category. Try the code below in functions.php it should work fine:

add_action('wp_head', 'custom_change_posts_order');
function custom_change_posts_order() {
	global $query_string;
	if (is_category(array(10,11,12,13,14,15,34,35,36))) {
		$posts = query_posts( $query_string . '&amp;orderby=date&amp;order=asc' );
	}
}

Thanks!

  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hello Rhonda,
Facebook changed a few things in their code that broke our social counter (facebook option). The twitter button should work as expected. Simply refresh it. Change the id to another one (cocacola for example) and see if the counter picks up the followers.
For the facebook option we are working on a fix as we speak. Until we get it done, you can maybe use another version of the plugin which worked for some people: http://cdn.tagdiv.com/wp-content/uploads/2015/12/td-social-counter.zip
Remove your current social counter and install this one.
Thank you!

Bogdan B.
tagDiv Staff

Hello,

The code above was a workaround. But if you have access to the iframe code (and you do), you can edit it and remove the fixed width. This is what causes the responsiveness to be broken.
Simply change the width from 640 to 100% and that should do it.

<iframe src = "http://player.streamshow.it/embed/esperiatv.php?height=360&amp;width=100%" width = "100%" height = "362" frameborder = "0" = marginwidth "0 "marginheight =" 0 "scrolling =" no "seamless =" "allowfullscreen =" allowfullscreen "</iframe>

Thank you!

Catalin
tagDiv Staff

Hello madpixel,

Please try the code below and place it in Theme panel->Custom Css area. You can adjust the opacity value as you wish until you get what you want.

.td_block_big_grid_3 .td-animation-stack-type0-2 {
opacity: 0.1!important;
}

The result you should see here: http://screencast.com/t/z3Y9RAa7waZc

Above I gave you an example for Big Grid 3. If you want use another Big Grid, you have to change the number of this in your code.

Hope this helps and let us know how it goes!

Thank you!

Andrei L.
tagDiv Member
Bogdan B.
tagDiv Staff

Hello,
The space comes from the header ad section. There is a container that is created for the advertisment. if you do not use an ad, this will be blank as on your page. Your best bet is to use a different header style. One with full logo. You can check this list to see different header styles and chose one that does not have an ad besides the logo if you do not plan to use header ads. https://forum.tagdiv.com/header-styles/
example: style 8 to 12
Thank you!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately there is no code we can provide to copy and paste, Emil suggested you replicate the code highlighted. He suggested you disable the post render parameter. This is the original code: http://screencast.com/t/3LnE9tQcTkwh compare it to the example Emil provided.
For the second one, again: this is the original: http://screencast.com/t/zDpDvCaINWB. Replicate what Emil has done. He provided the solution.
Thank you!

tripledm
tagDiv Member

Hi Bogdan,

Thank you for the response.

The problem is it’s not just the category.

As example it will be the NEWS category and ALL posts in that category. If it was just the one category or post it would have been possible with your solution.

How do I target css to apply to a category and all posts within that category?

Thank you in advance

Regards

JC

Andrei L.
tagDiv Member

Hi


@teodormiu
sorry for the delay and @Chris thanks for your help!

1. You can hide the featured image from post content by disabling it from theme panel > post settings > featured image: http://screencast.com/t/iXwnJWSHs8 The image will be displayed only in thumbnails not in post content.
2. You can set the title length from theme panel > excerpts for each module that you’re using on the page: http://screencast.com/t/SgQgzb4obiK

Regarding the author issues please check the WordPress documentation regarding users roles and capabilities because not every user have the same capabilities: https://codex.wordpress.org/Roles_and_Capabilities Foe example a contributor user cannot publish a post.
I am not sure why you don’t have the user option available because usually should be there: http://screencast.com/t/N5s00IQ5AgWp Try to deactivate all plugins except Visual Composer, just to be sure thet there is no conflict with some other plugin, clear all caches and test agtain.

Let me know how it goes.
Thanks!

Bogdan B.
tagDiv Staff

Hi,
OK. I understand now your issue but unfortunately there is just a slight problem. Your post without a featured image is dynamically placed. It will not maintain the same position in the block. You can remove indentation from all titles or a particular title but not dynamically. Css is not dynamic. If I remove indentation for the second title for example, but if the second title has a featured image besides it it will appear broken. There is no way to style just a particular element in the block unless the block has fixed content. not dynamic.
I hope this explains the situation. If you really need this customization you will need to hire a freelancer to help you out on this one.
Thank you!

Catalin
tagDiv Staff

Hello zlato,

Please make sure that you have selected the correct block_id before place it in your code. Above, I gave you an example to how to achieve this. These block ID are different and because of this do not work. If you fail to solve this, please provide your URL site so I can inspect it closer and solve this.

Thank you!

Catalin
tagDiv Staff

Hello tawigroup,

The code you should find here: http://pastebin.com/xz5ZeQc2 . This is an example, you have to change the source of the image with yours.

Hope this helps!

Thank you!

TheMediumUTM
Participant
api plugin - topic
#0

Hey folks,

In 6.6 your API plugin example still uses td_wp_booster_config. It took me a little bit of time to find out that you’ve just changed the class name to td_config. Please make sure this change is advertised, and update your Theme API docs and the API plugin .php file that comes with the theme, to save other people the trouble…

Thanks!

Viewing 25 results - 34,576 through 34,600 (of 38,683 total)