Search Results for 'amp'

Results from the Forum
drasticoder
tagDiv Member

Hi Catalin,

You can look at this page I sent as example:
https://viralwiz.com/six-dead-at-hollywood-florida-nursing-home-after-irma-cut-power-mayor-says
When looking in desktop version you can see the sidebar loads to the left of the content which is ok – screenshot here: https://imgur.com/a/NZllR6P

But when I minimize the width to look more like mobile the sidebar moves down below the content. screenshot here: https://imgur.com/a/JqzX2Bk

I’d like the sidebar to be above the content in mobile so it would be directly below the header – here: https://imgur.com/a/1WEElTH

Hope this helps in better understanding.

mamtadmv
Participant
#0

is this theme provide paypal registration & login form

Simion C.
tagDiv Staff

That code seems to remove the featured image from view when I use it for the image width. What exactly is the problem you are facing with the featured image element, or what are you trying to do? Some examples would be helpful. This element doesn’t have a specific image size requirement.

dj001
Participant
#0

Hello,

I just bought the theme and when i deleted all the articles that camed with the theme the site shows me some errors. For example in the bottom of the page shows this :

wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_sub_footer_template_1 is not set.
/home2/phonrogd/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace
wp_booster error:
td_api_base::get_key : a component with the ID: tdm_sub_footer_template_1 Key: file is not set.
/home2/phonrogd/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace
wp_booster error:
The path of the template id: tdm_sub_footer_template_1 not found.
/home2/phonrogd/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace

Why? and what can i do to fix it?

Calin
tagDiv Staff

Hi,

Please notice that the AMP template will only work on pages that do not use any page builder. Only pages that are created using the standard tiny mce editor will be valid AMP pages.
Also there can be some plugins conflicts, you can deactivate all non theme plugins clear all cache, and re-save the permalinks -> https://www.screencast.com/t/UjUehBBCJ4

Thank you.

Jack Phan
Participant
#0

Hi – received this message from our host in response to a memory issue. Please advise.

Cloudways Tech Support (Cloudways Ticketing System)

Jan 6, 18:16 CET

Hi,

Thank you so much for keeping patience. We have analyzed the server logs to identify high resource usage in your server. We found out that the most common queries running in your server are from admin ajax. We saw the huge number of hits for the following URL in your website:

/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=9.0.1

Also, when the requests are being hit on the above URL CPU spikes higher and memory starts to increase. We highly appreciate if you check with the theme developer to suppress the load for this call. Also, you can try using heart beat control plugin to avoid putting up load. Here is the guide for your reference: https://www.cloudways.com/blog/reduce-admin-ajax-php-related-server-load-wordpress/.

Do let us know if you have any questions, we are happy to help you.

itkhoj
tagDiv Member

Thanks for your reply,

First,
the link you provided
https://www.screencast.com/t/xL301xKgf
is already implement by me and I told in my question.

and the second link is complete useless for me as there is not clear analytics code, it is only about to channel grouping.

it is ok that some traffic shown under referral section at – www-itkhoj-com.cdn.ampproject.org

but the is only near about 1000 only.
and when I open AMP page, why it doesn’t show in “real time” traffic.

Also there is huge difference in Google Adsense and Google analytics. Google analytics only shows half of the traffic as compared to Google Adsense.

And all this happens after I change the theme.

So I hope instead of giving me screen shot, you provide me actual analytics code which will work in AMP.

ChampLife
Participant
#0

Hello, I already spoke with woocommerce, they told me to come here.
Here is the chat: https://prnt.sc/m3dus1

On my shop side ( https://champlife.de/shop ), I have 4 posters. Because of there are only 3 products
in a row, the last product has it own line. That dosent look good.
How can I make it, that 4 products fit in 1 line.

Woocommerce told me I can make it here:
http://prntscr.com/m43uay

But on my website it looks like this and if im understanding it right, its because of the theme
https://prnt.sc/m3dtbq

So the option to change the products per row is not there.

So how can I change this?

Thank you

burakk
tagDiv Member

Hi,

That is Newspaper AMP plugin (tagDiv AMP) which I am using. I have activated AMP plugin and already done all the settings and , (https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/)
but some how I am having errors for those AMP pages. You have said that”make sure that you make all settings lake in AMP HTML Specification ” there are couple of settings which can interfree without code writing. I have already done that 🙂 What else can I do?

Thanks

  • This reply was modified 7 years by burakk.
Simion C.
tagDiv Staff

That would be possible in the page content, split the row you want like this for example
https://www.screencast.com/t/vjgYUnqjn
The column on the right can be used as the sidebar, you can place ad boxes there.

drasticoder
Participant
#0

Hello,

I would love to get some help here, in older version I had of NewMag it was ok and after installing the newer one i’m facing problems now.

I want to main side bar of the site to go to the top (above the content) instead of below it.

Please help by providing a css solution or something that could work here…I can’t just hide it in desktop and put the content for mobile because it includes ads and hiding them is against terms.

My sidebar is already set to left side and still it doesn’t work.
you can see a sample page here:
https://viralwiz.com/six-dead-at-hollywood-florida-nursing-home-after-irma-cut-power-mayor-says/?utm_source=$PUBLISHER_ID&utm_campaign=300b&utm_medium=$DOMAIN

Simion C.
tagDiv Staff

I tried to replicate it based ion the example, with some modifications to the original code, this would be the result – http://prntscr.com/m42855

The HTML I used is here – https://pastebin.com/zwgq3fEv you can use it in the post content.
The CSS I used is here – https://pastebin.com/28NBWdtt you can enter it in the Theme panel->Custom code CSS section. You can make modifications to either the HTML structure or the CSS if needed.

Catalin
tagDiv Staff

Hi,

Please notice that the latest version of the WordPress comes with a new layout for the backend editor. It’s the latest WordPress improvement, named Gutenberg. For more information regarding how you can use it for editing a post, as an example, please check the following useful video tutorial from here -> https://www.youtube.com/watch?v=4SWGTOel6BE
If you dislike the Gutenberg Editor, notice that you can revert back to the classic editor functionality if you will use the Classic Editor plugin from here -> https://wordpress.org/plugins/classic-editor/

Hope this helps!

Good luck with your web project!

Calin
tagDiv Staff

Hi,

Please check our documentation for tagDiv AMP Plugin Tutorial -> https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/

Also please make sure that you make all settings lake in AMP HTML Specification ->
https://www.ampproject.org/docs/fundamentals/spec#required-markup

Thank you.

defocusmedia
Participant
#0

Greetings,

Since the wordpress update, the post area is complete different. I cannot use any of the functions as in the past. For example, making certains words different colors, sizes, and etc… Please advise.

Simion C.
tagDiv Staff

Hi,


@kytmagic
Now there are flex grids, so it is possible to customize the space between the modules. For example with flex grid 1 and 4 modules per row
http://prntscr.com/m40qn5
http://prntscr.com/m40qdy
Flex blocks and grids have much more flexibility than predefined big grids and blocks. We will add flex grids design in the cloud library, now there are only flex block designs
https://affiliate.tagdiv.com/#/load/Blocks

Thanks

3ftDeep
tagDiv Member

OK. It would be good to have this feature in your theme.

However, I had an idea for a workaround, which was to set the date of the ‘sticky’ post to a date a long time in the future so it’s always the newest.
However, by default, wordpress then makes this a scheduled post.

So, I found this piece of code to over-ride that and publish it now:

//make future post date visible now
function onetarek_prevent_future_type( $post_data ) {
if ( $post_data['post_status'] == 'future' && $post_data['post_type'] == 'post' )#Here I am checking post_type='post' , you may use different post type and if you want it for all post type then remove "&& $post_data['post_type'] == 'post'"
{
$post_data['post_status'] = 'publish';
}
return $post_data;
}
add_filter('wp_insert_post_data', 'onetarek_prevent_future_type');
remove_action('future_post', '_future_post_hook');

This does what I need it to. Thanks all the same

  • This reply was modified 7 years by 3ftDeep.
Simion C.
tagDiv Staff

Hi,

Usually that is fixed by entering the code provided at the bottom of the theme requirements guide, in the htaccess file
https://forum.tagdiv.com/requirements-for-newspaper/
If you don’t have access to the server files, contact the hosting provider, they should be able to help you.
Check the other parameters in the guide as well, increase the WP-memory for example if needed. Having sufficient resources is a must for a proper theme and theme plugins functionality.

Let us know if this works or the problem remains.

Thanks

Simion C.
tagDiv Staff

Hi,

So you want to display videos in the post content? That is not difficult to do, for example Gutenberg has an embed for Vimeo
https://www.screencast.com/t/JlBi0ERa3KiG
Paste the URL of the video in it and click embed
https://www.screencast.com/t/BFR6IAeQhttps://www.screencast.com/t/IuJiOaybC
If you use the classic editor simply paste the link in the post content
https://www.screencast.com/t/1scZNKNGswhttps://www.screencast.com/t/xtm2m5zgkTkG

If this is not what you wanted to know, some more details would be very helpful.

Thanks

Calin
tagDiv Staff

Hi,

The analytics code for AMP should be of this form only, please check it
https://www.screencast.com/t/xL301xKgf
If you enter it like that it will be loaded in AMP pages.

From what I can find online, maybe it would be better to use different tracking for AMP
https://moz.com/blog/amp-reporting

Thanks

Simion C.
tagDiv Staff

Hi,

So the problem is with AMP. Please post a link to the website so I can check the posts with the AMP validator tool. Usually this type of issues are caused by plugins that insert their content in the posts, or by elements entered in the post content directly.

Thanks

Simion C.
tagDiv Staff

I upload it not in the wordpress install, but one level above it in the folder containing WordPress, in my case like this
https://www.screencast.com/t/ArymKzXPR
It should appear in AMP pages if set like that. Place it there and check AMP pages in the website to see if it appears.

Viewing 25 results - 21,201 through 21,225 (of 38,683 total)