Search Results for 'amp'

Results from the Forum
Sebastian Escobar
tagDiv Member

OK, but my question is about how to insert a code that was made for WPBakery Page Builder, that was your backend support for template before tagDIv Composer. Some months ago I worked with Newspaper and WPBakery Page Builder, then I think you can know how to insert code in tagDIv Composer.
You know the behavior of WPBakery Page Builder and this add-on is built to work with him. That is why I think you should know what changes or what structure is equivalent between one and the other.(https://calendarize.it/)
I do not need support for the add-on, just know where or how to enter the code.

This is an example of code>:
[rhc_static_upcoming_events template=”widget_custom_accordion.php” number=”6″ horizon=”hour” words=”100″ date_format=”MMM d, yyyy” time_format=”h:mmtt” order=”ASC” post_type=”events” showimage=”1″ feed=”0″ nav=”3″ auw_title_type=”1″ taxonomy=”calendar” terms=”spartan-races”]
Thanks!

Simion C.
tagDiv Staff

Installing a demo with content will provide the homepage structure, without content you will have to build the homepage. You could install the demo without content and use the homepage from the demo folders. Example
https://www.screencast.com/t/v1a9rgPw
https://www.screencast.com/t/YWSVjh51vqt
Then edit the page with the tagDiv composer and configure the grids and blocks to display the posts you want.

Simion C.
tagDiv Staff

The theme provided AMP plugin is only at the beginning, there are not may settings available at the moment
https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
https://tagdiv.com/amp-newspaper-theme/
A demo post can be seen here
https://demo.tagdiv.com/newspaper_crypto/td-post-ethereum-millionaires-attract-attention-from-regulators/amp/
Featured videos are supported in the plugin. I don’t think contact form 7 forms will be displayed on AMP pages.
The plugin will receive more options and features in coming updates. The design is similar to the Yoast SEO website
https://yoast.com/social-media-optimization-with-yoast-seo/amp/

It is up to you if you would like to use this plugin or keep using the implementation you have now. If that has more options that you require, which are not present in our plugin, you could keep using it for the moment.

designr
tagDiv Member

Im developing the site on a local server (wamp). i started from a clean install, did not use a demo.

I was thinking of using site background color to achieve this… is it possible to set the background color of the site without the site turning into boxed version.

Simion C.
tagDiv Staff

Unfortunately I don’t understand exactly what you want to do. That is the footer logo, it can be changed in the theme panel. The same logo will be displayed on AMP pages. The AMP plugin is optional, you can choose not to activate it.

The plugin does not have at the moment options for custom CSS code, custom modifications could only be made in the plugin files if absolutely required.

Edward
tagDiv Member

Example please.

Simion C.
tagDiv Staff

Hi,

1. So you want all the socials to be of the same background, this could be done like this
https://www.screencast.com/t/cb7T6ZA41Nt
Enter this code in Theme panel->Custom CSS section

.td-social-colored .td-sp {
background-color: #00b0ff!important;
}

2. They have fixed width and height like this
https://www.screencast.com/t/hZMDHlAPKLd
You could reduce those values if needed, using the same code
https://www.screencast.com/t/m2HYmIiJG8q
This is the code used in the example, give it a try

.td-social-colored .td-sp {
width: 44px;
height: 44px;
background-position: -14px -222px!important;
}

Thanks

Bogdan B.
tagDiv Staff

Hello,

The amp reviews get converted to stars review. The stars only go up to 5, not all the way up to 10. I will add this to our list and pass this information on to the development team so we can fix it in future version of the plugin.

Thank you!

Simion C.
tagDiv Staff

That code seems to work, on responsive the logo does not look right however
https://www.screencast.com/t/57krnj6r
You could remove that code and try something like this for example
https://www.screencast.com/t/Sms4pmA7nt
It looks good responsive and on desktop
https://www.screencast.com/t/p1444pWB3Zd

.td-header-style-9 .td_stretch_content_1200.td-logo-wrap-full {
max-width: 1200px;
}
.td-header-style-9 .td-header-sp-logo {
text-align:left;
}

Note there are Advanced CSS section sin the theme panel, if you want cod to apply only for specific devices.

madmanweb
Participant
#0

I’d like to move my social sharing buttons to the sidebar of my articles. Is there an easy way to do this?

See example: https://futurism.com/berkeley-considers-blockchain-investments/

MESOTU
tagDiv Member

Hi Alin,
It is a fresh installation on a local server using MAMP so wouldn’t be able to provide a login. I do not have any other plugins active, so that’s not a possibility. I’ve also tried it on a live installation but it’s the same thing. I already tried clearing the browser caches on Mac Safari, Chrome, Firefox, and Firefox Developer Edition with no luck. Perhaps you can provide a screenshot of what your TD Composer editor screen looks like. As I played around with it more, I can still “get by” but it’s just distracting to have the right margin cut off like that. I may just go back to WP Bakery to keep it simple. Cheers

GoingFor2
Participant
#0

I have been using Newspaper for awhile, but I decided to try and implement AMP. Everything seems to be working when I add the /amp to my URL, however, all of my images are either shrunk down to the point you can’t even see it, or in some cases removed altogether. My site, if you need to look at, is GoingFor2.com

One other question. How does the reader end up on the AMP version? I’ve done google searches, found one of my articles that “should” be served via AMP, but the regular non-amp version still comes up.

acdmin
tagDiv Member

Correction:


<?php

$category = get_query_var('cat');
$current_cat = get_category($cat);
$custom_query = new WP_Query( 'posts_per_page=-1&amp;category_name='.$current_cat->slug.'' );
if ( $custom_query->have_posts() ) :
while ( $custom_query->have_posts() ) : $custom_query->the_post();
$posttags = get_the_tags();
if ( $posttags ) {
foreach( $posttags as $tag ) {
$all_tags[] = $tag->term_id;
}
}
endwhile;
endif;

if(is_array($all_tags)){
$tags_arr = array_unique( $all_tags );
$tags_str = implode( ",", $tags_arr );
$args = array(
'smallest' => 12,
'largest' => 12,
'unit' => 'px',
'number' => 5,
'format' => 'flat',
'include' => $tags_str
);
echo '<div id="tagcloud"><h3>Popular Tags</h3>';
wp_tag_cloud( $args );
echo '</div>';
}

?>

kulecanbazi
tagDiv Member

<script async custom-element = “amp-ad” src = “https://cdn.ampproject.org/v0/amp-ad-0.1 “js> </ script> should be added

you should also make a responsive ad

then you only need to enter the desired codes

gferrise
Participant
AMP Setup - topic
#0

Hello, Im starting with the theme. Im not sure about all the steps for setting up AMP ADS
I did all the steps in the AMP Settings on the theme pannel:
Add type google and adsense settings codes for header, footer and article ads.

I am all set?

1. According to the adsense instruccions I have to add this script to the header section:
<script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script&gt;

Is it necesary for the theme or is it included by default?

2. Do I have to create responsive AMP-compatible ad unit or does the theme do all the job automatically?

Thank you!

Erythros
tagDiv Member

I don’t really feel like doing test on my production website nor spend time on a staging environment. Waiting therefore for an official answer.

Also, does TagDiv’s AMP implementation support video type posts and contact form 7?

Vairao
Participant
#0

Hello,
I have some trouble using the news builder. Is it possible to have the old layout builder ?

For example I try to add the “grid 1” element on an 2/3 – 1/3 row. The “grid 1” is in the 2/3 column. And the posts preview are all on the same column insteed of it’s expected layout.
Please see the capture :
https://ibb.co/e4iJa7

Thanks for you help

Iliya Stativkin
tagDiv Member

На данный момент я не ногу принять в работу функционал AMP из коробки так как он не работает так как надо, Вы его ил удалите или доработайте.

Iliya Stativkin
Participant
AMP Footer - topic
#0

Как изменить футер в теме меня полностью не устраивает данный вид https://lhbw.ru/wp-content/uploads/2018/03/2018-03-11_124446.png

hut4net
Participant
#0

We built the theme using a demo.

https://www.the-new-englander.com/2016/10/06/book-review-surviving-raine/

In the above links, we have an example post, Posts under “Most Popular” and “Hot Topics” are random; in other words, they do not reflect what is popular or hot, in regard to the number of views.

1. How can we set Hot Topics, Editor’s Pick?

2. Most Popular (all time) doesn’t pick the most popular posts even when the view counter is active.
https://forum.tagdiv.com/block-settings-tutorial/
I tried the 7 day posts block setting to see if that presents the last 7 day popular posts, but “most popular” category is still showing random posts.

Thanks!

hsm2393
Participant
Need Help - topic
#0

Hi I’m on newspaper theme but this theme from chrome is blocking my plugins. This issue is not seen from Firefox.

My page address is http://practitionerr.com/lp/toxic-overload-quiz

The shortcode is embed on the page. This is a quiz. So the quiz loads fine on firefox with no errors, but on chrome it gives me this error.

When i switch to default wordpress theme quiz shows up. But when i view from newspaper theme the quiz doesnt load up

I’m using thrive themes plugins and when i go to the page and press ctrl + shift + J i get the following errors.

Uncaught TypeError: Cannot read property ‘top’ of undefined
at Object.compute_top (tagdiv_theme.min.js?ver=8.7.2&nocache=1:160)
at HTMLDocument.<anonymous> (tagdiv_theme.min.js?ver=8.7.2&nocache=1:155)
at i (jquery.js?ver=1.12.4&nocache=1:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4&nocache=1:2)
at Function.ready (jquery.js?ver=1.12.4&nocache=1:2)
at HTMLDocument.K (jquery.js?ver=1.12.4&nocache=1:2)
tagdiv_theme.min.js?ver=8.7.2&nocache=1:160 Uncaught TypeError: Cannot read property ‘top’ of undefined
at Object.compute_top (tagdiv_theme.min.js?ver=8.7.2&nocache=1:160)
at tagdiv_theme.min.js?ver=8.7.2&nocache=1:155
at dispatch (jquery.js?ver=1.12.4&nocache=1:3)
at r.handle (jquery.js?ver=1.12.4&nocache=1:3)
tagdiv_theme.min.js?ver=8.7.2&nocache=1:160 Uncaught TypeError: Cannot read property ‘top’ of undefined
at Object.compute_top (tagdiv_theme.min.js?ver=8.7.2&nocache=1:160)
at tagdiv_theme.min.js?ver=8.7.2&nocache=1:312

How do i fix this issue?

Severan
Participant
#0

I have a problem with review mode. On desktop rating is from 1 to 10 but on AMP mode rating is from 1 to 5. How can i fix this? I need rating from 1 to 10 on desktop and AMP mode

prashanth
Participant
#0

Hi,
I’ve installed AMP plugin.
Now the problem is with showing Adsense ads.
I have fetched the “data-ad-client” and “data-ad-slot” from my Adsense account and inserted it in the respective fields in the AMP plugin Adsense settings in theme panel.
But I could not see any ads appear in my AMP pages. It only shows blank space.
Please look in to this.
Thanks.

metakin
Participant
#0

hello guys !, I have a small query about the writing space in the blog pages, I feel that the space that is left when the sidebar is deleted is too big, is there any way to reduce it?

example: https://prnt.sc/ip7mlb
I would like the text to fit a smaller margin

morrelinko
tagDiv Member

Fixed!

Reason: An mb_detect_encoding() error in the footer was causing the page to break hence not loading all js scripts required for td-composer plugin to load preview.

Just in case someone else has this problem in the future…

Install all wordpress required php extensions … in my case was mbstring &amp; gd libraries …


sudo apt install php7.0-mbstring
sudo apt install php7.0-gd

And very important don’t forget to restart the apache service


sudo systemctl restart apache2

Viewing 25 results - 25,401 through 25,425 (of 38,683 total)