Search Results for 'amp'

Results from the Forum
Marco D’Elia
tagDiv Member

Thanks You bogdan,
Could you help me with this function?

function set_post_order_in_admin( $wp_query ) {
global $pagenow;
if ( is_admin() && 'edit.php' == $pagenow && !isset($_GET['orderby'])) {
$wp_query->set( 'orderby', 'xxxxxxxx' );
$wp_query->set( 'order', 'DESC' );
}
}
add_filter('pre_get_posts', 'set_post_order_in_admin' );

xxxxxxxx = td_page_views, with Title work fine

Marco D’Elia
tagDiv Member

Hello Catalin,
Thanks for your help.
I tried to install other demos on my website, some demos is working more or less, for example Gadgets, but I can’t see the images.
Could You help me to understand what does not work in my installation test?

best regards
Marco

Simion C.
tagDiv Staff

Hi,

I believe Woocommerce lets you add a link to the cart in a desired menu
https://www.screencast.com/t/T6nanGzwmEIZ
But if you want something like a basket with additional information you could use a plugin such as this one for example
https://wordpress.org/plugins/woocommerce-menu-bar-cart/

Thanks

ihora
tagDiv Member
Simion C.
tagDiv Staff

Hi,

Please provide a link to such a post with errors so we can test it with the validator, could be something entered in the post content or plugin content. Seems to mention the HTML tag “col”, maybe you have that in the post content.
Also our AMP plugin does not provide CSS errors anymore, all the known issues have been fixed.

Thanks

AntoineVerdier
tagDiv Member

Hum, It is working fine with the background image for example
.category-logements-sociaux .td-category-header {
background-image:url(“https://monimmeuble.com/wp-content/uploads/2018/05/bandeau-logement8.jpg”);
background-size:cover;
}
but doesn’t seem to work for the tag color :
.category-logements-sociaux .td-current-sub-category {
background-color: #c7cf31!important;
border-color: #c7cf31!important;
}

ihora
tagDiv Member

Hi,

I downloaded the last version of amp plugin, but AMP errors of theme detected by Google Search Console

<b>amp</b> error

  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
Simion C.
tagDiv Staff

Hi,

Our AMP plugin does not have a menu at the moment, it could be implemented in a future plugin update. This is similar to the Yoast SEO website AMP version
https://yoast.com/social-media-optimization-with-yoast-seo/amp/
So a menu might be added at some point, but I cannot say when this will happen.

Thanks

Simion C.
tagDiv Staff

You can find the ID for example by hovering the category name
https://www.screencast.com/t/4cse2WBk

In order to change the color of the tag, you could try something like this
https://www.screencast.com/t/2JoEVhLqv3
The code will color the tag of that category, when the respective category page is viewed

.category-101 .td-current-sub-category {
background-color: red!important;
border-color: red!important;
}

Nicholas Gibbs
tagDiv Member

Hi Catalin

thanks – but I’m still unclear. For example – my homepage is completely different to the homepage i had ‘out of the box’ with the black demo. I have my own bakery elements, each of which with settings showing perhaps particular categories with animations and borders and padding, backgrounds etc. i have a sidebar with different widgets appearing on different pages and categories, i have pages using accordions and so on. Are all of those settings lost and i just end up with the new chosen demo exactly as it appears on your demo site, so i would have to go through and do all of that development again, or do i have my current homepage, but in different colours/styles?

Catalin
tagDiv Staff

Hello tkvmai,

I have checked on my side and the Custom Sidebar it seems to be correctly saved, as you can see here -> https://www.screencast.com/t/VQEgpUke4
Also, please do not use symbols (!@#$%^&amp;*) for the title of the widgets because it seems that affects the functionality of the sidebar. For more information about the sidebars, please consult our documentation here
https://forum.tagdiv.com/sidebars-tutorial/

Thanks.

Jose
Participant
#0

Hello team,

I am try the AMP plugin (tagdiv) and all its ok, perfect 🙂 But I cant found how to put a top menu in AMP pages

¿It is posible?

Simion C.
tagDiv Staff

Hi,

You can see the post structure in the post template files for example. Each post template has a corresponding file, these files
https://www.screencast.com/t/nrfDzoZTL6i
Examining one of those files you can see what containers it has
https://www.screencast.com/t/kYlYSvmktMl
Take note that not all post templates have the same structure, inspect the one or ones you require.

Thanks

superflymarketing
Participant
#0

Is it possible to repeat in-article ads? For example you select ‘after 6 paragraphs’ to display the ad, but it only displays once. On longer articles such as reviews and longer news stories, this means the ad displays higher up, then for 3/4’s of the article there’s no adverts whatsoever.

This creates a pretty big advertisement issue for longer articles where there’s long stretches of content without any advertisement whatsoever.

Is there any way to have it so that if we select 6 paragraphs, an ad is displayed after every 6 paragraphs?

Cheers,

Simion C.
tagDiv Staff

Hi,

That could be done with CSS maybe. For font awesome icons it is easy since all that has to be done is to insert the class and have the plugin active.

Maybe something like this
https://www.screencast.com/t/4PYfzC0k
This is the code I used in the example if you should consider it (change the menu item ID with your own)

.menu-item-1963:before {
content:'';
background: url("");
background-size: 15px 15px; background-repeat: no-repeat;
position: absolute;
width: 15px;
height: 15px;
top: 15px;
}

It may need further modifications to work in other situations. Or maybe you can find another method.

Thanks

Simion C.
tagDiv Staff

Hi,

1. You can try to regenerate the thumbnails, this process will recreate all the necessary thumbnails
https://forum.tagdiv.com/search/regenerate/

2. Depending on the page builder used, both have options to hide elements for specific device. A related topic here
https://forum.tagdiv.com/topic/change-moduleblock-12/
These are tested and work as expected. As a note, if you use WPBakery page builder to create pages, deactivate the tagDiv composer. The tagDiv composer may prevent the option to hide elements of WPBakery from functioning.

3. With WPBakery page builder that will not be possible. There are no options to color the block title fonts or background. The tagDiv composer has such options.
You could use CSS to color them by block type for example
https://www.screencast.com/t/hJiffmUYp
This is the code used in the example

.td_block_1 .td-block-title span{
background-color: red;
}
.td_block_7 .td-block-title span{
background-color: blue;
}
.td_block_4 .td-block-title span{
background-color: yellow;
}

More about using CSS code here
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Simion C.
tagDiv Staff

Hi,

The initial color of the elements will be replaced by the color you set. For example the header style you are using has an initial color by default, this one
https://www.screencast.com/t/fZy8NTTnaD
Then the theme accent color applies on the header replacing the default color
https://www.screencast.com/t/p7keikKtk
Then the color you set as menu background applies (this is similar to the one before however)
https://www.screencast.com/t/dDeIGRxBWUp
So these colors will apply one at a time, cycling through each starting from the first to the last.

Same for the block titles which seem to also flash a bit
https://www.screencast.com/t/6gbXFl6HhsH2
This transition would not be visible when the website is loaded faster.

You could remove or replace the initial colors of these elements from the theme stylesheet, with the one you want
Block titles – https://www.screencast.com/t/eYH2Qi9kpg1
Header – https://www.screencast.com/t/K11jSLjA43

Thanks

Satwik
tagDiv Member

Current version of newspaper theme is 8.7.3. Download the latest theme update from Themeforest. Go to this link and scroll down to find the information about latest version &amp; detailed changelog.

Simion C.
tagDiv Staff

Hi,

From what I can see the link to the Twitter account is not set properly by the author. it should be like this for example
https://www.screencast.com/t/yJvU9SWrLC
In the top bar it seems to link to a valid Twitter profile page
https://www.screencast.com/t/bzE8K2X2
The admin or the user should edit their profile and change the link to Twitter, use a valid link to the account.

Thanks

Simion C.
tagDiv Staff

Yes it will, like this for example using the category unique ID
https://www.screencast.com/t/YpFjvLdXj8VH
You can use the name as well, to recognize the categories faster
https://www.screencast.com/t/ekbunJkMnE

Simion C.
tagDiv Staff

Hi,

There is no actual setting for that element at the moment. You could change it with some CSS if required. You could make it similar to the top menu for example
https://www.screencast.com/t/B7rZpmJi
This is the code used in the example

.td-header-sp-info {
font-family: Roboto-Regular;
font-size: 13px;
}

Thanks

Catalin
tagDiv Staff

Hello cccadmin,

The theme cannot provide such data, you could use Google analytics for example
https://moz.com/blog/absolute-beginners-guide-to-google-analytics
This will provide information about the traffic the website receives. Or try some WordPress website statistics plugins if needed.
If you are using Google Analytics and you have implemented it properly, there would be no problem.
https://developers.google.com/analytics/devguides/collection/analyticsjs/
The analytics code can be entered in the theme panel dedicated section. Then you can analyze the collected website data.
https://support.google.com/analytics/answer/1008083

Thanks.

writingwolf
Participant
#0

Hi,

I’ve been using Newspaper for about a month now and from the start I have been getting many HTTP errors when I upload images. Usually about five or six a day. I spend many wasted minutes trying to reupload images until finally it works. I reduce the file sizes so they’re under 100K if possible or a bit more & it seems to help, but not all the time. This happens from differnet comptuers at different internet connections and ONLY on my Newspaper-themed blog. Can you help?

Nicholas Gibbs
Participant
#0

i’m not 100% clear on exactly what will get changed when switched demos.
i currently use the dark theme, but am finding it a pain in the but in other stuff – for example events calendar, not working in harmony.
is there a way to switch back from the dark theme to the regular theme that will not overwrite all of the pages i have set up, all of my modules and settings, menus etc etc. basically i just want exactly the same site i have now, but light instead of dark.
thanks

trickybell
Participant
#0

Frequently getting the error during theme, plugin, and content modification. For example – Internal server error 500, error 503 and error 404. Want to know the reasons behind these errors.

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