Search Results for 'amp'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

Not all elements display a post excerpt. Some modules will show an excerpt, others will not. The excerpts cannot be enabled for modules that don’t feature it, unless maybe through code modifications in the theme files.
However you could display a post subtitle in the homepage post elements
https://www.screencast.com/t/js72YjPhkq
https://www.screencast.com/t/9V2peCbxC0
The posts that appear in the homepage post can be filtered and sorted, as all blocks. This is a guide
https://forum.tagdiv.com/block-settings-guide/
There is also an offset feature for blocks
https://forum.tagdiv.com/offset-feature/
So for example if the homepage post and the following block share the same filtering and sorting, you could set an offset of 1 in the block.
Please let us know if you have further questions.

Thanks

Simion C.
tagDiv Staff

Hi,

The width can only be changed on pages at the moment. The post page total width cannot be changed. The post content width is fixed as well and depends on having a sidebar or not. This is a post without a sidebar for example
https://demo.tagdiv.com/newspaper/td-post-five-things-you-may-have-missed-over-the-weekend-from-the-world-of-business/
There are many post templates to choose from
https://forum.tagdiv.com/default-post-templates/

Thanks

Bogdan B.
tagDiv Staff

Hi,

Sorry but I cannot see any random images as you mention. Please provide an example of these images. I cannot see them on my end.

Thank you!

designr
Participant
#0

Hello, there are sub category links that appear on the category pages. How can I specify the order in which they are displayed?

This is what am referring to: Business, Health & Fitness, Recipes, Travel in this demo–> https://demo.tagdiv.com/newspaper/category/tagdiv-lifestyle/

Currently it looks like they are displayed in alphabetical order.

Bogdan B.
tagDiv Staff

Hello,
I can;t say for sure on your site which photo is blurry and which is not as I cnanot access any post at all. i can only access the page itself. Any link on that page returns a 500 error. I need to see the original image from where the thumb is created.

Please provide a precise example of such an image and provide a working link to it.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

I’m not sure what you mean. The images on your posts take the full width of the content so there is no smaller image for the text to wrap. Please provide an example of what you mean.

Thanks

Simion C.
tagDiv Staff

Hi,

The easiest way would be to use Font awesome icons, like this
https://www.screencast.com/t/GuoueFzXAk
Simply install the Font awesome 4 menus plugin and enter this code in Theme panel->Custom CSS section, the result should be like in the screenshot

ul.sf-js-enabled > li > a > i.td-icon-menu-down:before {
font-family: FontAwesome;
content: '\f067' !important;
}

The list of icon codes can be found here for example, so you could use any icon you want
http://astronautweb.co/snippet/font-awesome/

Thanks

Bogdan B.
tagDiv Staff

Hello,

This effect can be seen when changing the header color multiple times. The default color is blue, then you change it to green and on mobile change it to black. CSS works in cascades. If an element is changed many times, you will be able to see the changes as the code loads up.
Also using speedbooster and moving the css to the footer, it will load slower.
Also your page seed influences the css load so please follow google.s advice: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fbestlavka.ru%2F&tab=desktop
Please use this guide: https://forum.tagdiv.com/how-to-make-the-site-faster/

Thank you!

Catalin
tagDiv Staff

Hello Hansjörg,

You should edit and add your shortcode ad here -> https://www.screencast.com/t/2TtNktbfb7uv It’s just a simple example.

Thanks.

Simion C.
tagDiv Staff

Hi,

If that is Woocommerce then it surely is built with extensions and plugins. I believe those are not elements available by default in the Woocommerce plugin. Maybe check online for styling plugins created for Woocommerce, like these for example
http://www.wpbeginner.com/plugins/20-best-free-woocommerce-plugins-for-wordpress/
https://woocommerce.com/product-category/woocommerce-extensions/free-extensions/page/1/

Thanks

simchris
tagDiv Member

example function to add featured image
//Function to add featured image in RSS feeds
function featured_image_in_rss($content)
{
// Global $post variable
global $post;
// Check if the post has a featured image
if (has_post_thumbnail($post->ID))
{
$content = get_the_post_thumbnail($post->ID, 'full', array('style' => 'margin-bottom:10px;')) . $content;
}
return $content;
}
//Add the filter for RSS feeds Excerpt
add_filter('the_excerpt_rss', 'featured_image_in_rss');
//Add the filter for RSS feed content
add_filter('the_content_feed', 'featured_image_in_rss');

Ladiesabroad
Participant
#0

Hi
We use block 13 for our newest article on the front page. We sometimes like to use extremely long titles of out articles, and when we do so block 13 show the title more or less over the entire front page on mobile devices. On computers it looks ok.

Is it possible to shorten the length of the title showed to two rows for block 13 on mobile devices only? Or do you have another solution? We want to keep the same look on mobile devices as on the computer.

http://www.ladiesabroad.se/, I have an example published right now.

johnfelipe
tagDiv Member

Hi bro, changes:

https://goo.gl/UNbURh

and

https://goo.gl/K4dyBy

and still not working, that is view in chrome:

https://demoautomatico.conexionmas.com/2017/12/04/13-000-gramos-de-polvora-negra-fueron-abandonados-en-campo-valdes-y-la-cruz/

is not completly save:

https://goo.gl/sEnqzp

same link in firefox:

https://goo.gl/JSHiXg

same link in opera:

https://goo.gl/3AEjDK

I need solve urgent

Catalin
tagDiv Staff

Hello LaJornada,

You should simply add your custom link in your top bar menu from WordPress, Menus section and then, using the Inspector browser you should find the class for your custom link item to hide it for the entire theme and block it only for your homepage. For more information about Inspector browser, please check the useful documentation here -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ Unfortunately, I cannot do this for you, sorry! I will only provide you an example and a hint from where you should do it yourself based my explain. So, if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

Please note that the theme has only been tested with the Automattic AMP plugin, which currently supports only post pages. I believe they are planing to support archives and pages as well in the future.

Thanks

gilvancn
tagDiv Member

Good morning mate.
So you’re not helping me. 🙁
All those basic settings, I already did.

By my tests, this does not work exclusively because the image is from a link in a different url (subdomain).

That is, when the image url is set to a media file other than the default WordPress folder, “Modal” does not follow the global setting that is enabled to show on all images.

One option is to change the “Modal” manually in each image, but this is out of the question, since we have more than 10,000 images on the site.

Follow the sample sites with the proper settings of the original site:
http://futuromelhor.tk -> Site using media hosting in the default WordPress folder.
http://site2.futuromelhor.tk -> Site identical to the previous one, with a single change. The media hosting of this site is in a custom url.

Compare it then, please, to see that there is nothing wrong with the settings and everything works perfectly. The only problem is that “Modal” does not work on site2.


TRADUZIDO DE:
Bom dia amigo.
Assim você não está me ajudando. 🙁
Todas essas configurações básicas, eu já fiz.

Pelos meus testes, isso não funciona exclusivamente porque a imagem é de um link em uma url diferente (subdominio).

Ou seja, quando a url da imagem está definida para um arquivo de midia diferente da pasta padrão do WordPress, o “Modal” não segue a configuração global que está ativada para mostrar em todas as imagens.

Uma opção é mudar o “Modal” manualmente em cada imagem, mas isso está fora de cogitação, já que temos mais de 10 mil imagens no site.

Segue os sites de exemplo com as devidas configurações do site original:
futuromelhor_com -> Site usando a hospedagem de midia na pasta padrão do WordPress.
site2_futuromelhor_com -> Site identico ao anterior, com uma unica mudança. A hospedagem de midia deste site é em url personalizada.

Compare ai por gentileza, pra você ver que não tem nada de errado nas configurações e tudo funciona perfeitamente. O único problema mesmo é que o “Modal” não funciona no site2.

Simion C.
tagDiv Staff

Hi,

It may require some m ore modifications. When creating the demo the team made sure that the code will only apply for that particular block, and not affect other similar type blocks.
I have modified the code (no need to enter the body class), the result is like this
https://www.screencast.com/t/KoWO4kfScTW
Now this code once entered in the custom CSS section will apply to all blocks 15. This is the code
https://pastebin.com/zSsr9dUb
It could be made more specific by modifying it again, for example by using the page ID in the code (it will apply only in that page)
https://www.screencast.com/t/Xv788tPas
That page ID class will have to be entered before every line. Hope this helps.

Thanks

Catalin
tagDiv Staff

Hello hao1362002,

It’s a false alarm, it’s not a concern. That Bach Khoa antivirus erroneously interprets an element in the plugin archive, since all others do not detect anything.
For example, this topic detects the same thing in the WP Fastest Cache plugin archive
https://wordpress.org/support/topic/bkav-cpr4339-webshell-detected/
If the theme package is downloaded from the official, guaranteed source there is no threat of this kind and can be used with confidence.

Thank you!

Simion C.
tagDiv Staff

Hi,

I believe that is an automatic response, they will have to look into this. In other similar cases the admin-ajax is blocked by the server or a security plugin as a result of the multiple calls it makes for various aspects of the theme. Like this situation for example
https://forum.tagdiv.com/topic/cant-save-theme-options-2/
There it was solved by a security setting in Cpanel, that was denying access. There would be nothing we can do in this case from the theme perspective. Keep trying to contact them and let us know the results.

Thanks

sumitkumarfc
Participant
#0

If we have the infinite scrolling enabled from tagdiv then the archive pages are not paged “/page/2/” and it goes to the 404 for AMP pages for example http://parenting.firstcry.com/category/pregnancy/amp/page/2/.

but if we go via /?amp then the pagination works perfectly but then it would not update the canonicals so it would cause Major content mismatch error which will then be a validation issue.

So the option part would be to make it in a such way that it works with with clean permalinks. Requesting help on immediate basis.

Simion C.
tagDiv Staff

Hi,

You could make the code apply on pages that do not have a sidebar. Something like this should apply only for pages that use the full page (no sidebar)
http://prntscr.com/hmd9l9
http://prntscr.com/hmd94j
This is the code example used

.td-pb-span12 .td-page-content h1,
.td-pb-span12 .td-page-content h2,
.td-pb-span12 .td-page-content h3,
.td-pb-span12 .td-page-content h4,
.td-pb-span12 .td-page-content p {
padding-left:12%;
padding-right:12%;
}

Thanks

Achal
Participant
Link Color - topic
#0

Hi, Currently Newspaper using site theme color as a link for color.

For example, My site theme color is green so link color also green. I only want to change link color from green to blue on my all pages.

But I want to make links in blue color, Can you tell me how I do this? Thanks.

Simion C.
tagDiv Staff

Hi,

The text padding has to be set manually for each post, when creating the post. That is the case for the sidebar as well, it has to be manually disabled for each post if that is required.
I see that you use the same padding value for the whole post content, you could try a code like this in the theme panel custom CSS section

.category-travel .td-post-content {
padding-left: 12%;
padding-right: 12%;
}

This will set a padding to the post content, for posts that belong to the travel category in this example. Replace the category with your own and see if it works properly in some tests.
For example here I have disabled the paragraph padding, and used the code
https://www.screencast.com/t/cPXdV0Gdgiy

Thanks

aftereffectsmagic
Participant
#0

Hi there,

I have my TagDiv Pinterest widget enabled and set up as an element on my dev page. The widget seems to pull images and pins properly, but when I click on one of my pins displayed in that widget, it doesn’t directly take me to that pin. Instead, clicking on any pin takes me to a Pinterest page displaying that pin, then similar pins. With the TagDiv Pinterest widget, the pin appears as the first of many similar pins and is not featured in any way. This is not the behavior I would like to happen with the widget.

A good example of directly linking to the pins is present in the official Pinterest widget. If you try clicking on any pin in the widget builder template, you’ll be instantly linked to that pin. It appears as a featured pin, with other similar pins to the right of the featured pin.

Can you provide a solution for the widget behavior, so I can get click-throughs to the specific pin itself?

Thanks!

Edward
tagDiv Member

Paginated search do not work on this forum.

Check it for example (search RSS):

First page is ok: https://forum.tagdiv.com/search/rss/
Second (and other) page: https://forum.tagdiv.com/search/rss/page/2/ – do not open.

Viewing 25 results - 26,701 through 26,725 (of 38,683 total)