Search Results for 'amp'

Results from the Forum
sarawakv
Participant
#0

Hi there,

I have found out that the majority of my audience (based on the survey and the majority of my older folks audience 50 – 65+) dont realise that there is a LOAD MORE button after the many content block.

My question is:

1. how can i make it bigger and change the color to RED.
2. how can i modify the text, for example: CLICK HERE FOR MORE NEWS. or other texts.
3. this also referring to to the NEXT PREVOIS button as well, how can it be modified like the color and size.

Thank you so much for all of your help and guide!

simchris
tagDiv Member

Example link ?

simchris
tagDiv Member

Not really a theme issue.

Make sure your content image folder is actually there, writable, and the domain name in your posts matches — and the images are actually in there!

For example, look at an image in your post, copy the URL, paste that into a web browser, and make sure it actually works.

If your DNS just changed, note it can take 24-48 hours for all name servers to properly load content from the NEW location vs the old one. If using a CDN, this can impact cross domain loading, and with some caching systems as well. Make sure you clear/disable caching while doing this kind of thing.

Good luck!

Catalin
tagDiv Staff

Hello todaybase,

I have tested again the code on my side and the image is right displayed as you can see here -> http://screencast.com/t/cJNDX5QN Please notice that below I gave you just an example and you have to try to implement it yourself this code. Please check your code to be correct….pay attention about the path for your image and over PHP/HTML syntax because it is very sensible and if you have any errors the code will not working. Also, please notice that we can only give you a hint/method about the implementation which addresses only for advanced users. If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for your understanding!

JBH
Participant
SEO issue - topic
#0

Hi,

Some articles are indexed by google more than once. The 2nd or 3d URL is look like:

http://www.domain.com/page/72/?attachment_id=rridanuj&page=2

What is the reason?
Does it hurt SEO?
How to solve?

Thanks!

JB

Catalin
tagDiv Staff

Hello emil86,

Unfortunately, our theme does not have such an option for what you want but you can achieve that only for coding. If you want to have this feature on all posts above post title, you have to use do_shortcode method to implement this. For example, if you are using post template 1, you have to add the code below in loop-single-1.php, like this -> http://screencast.com/t/V6Cf3Yqsao

The code is ->

<?php echo do_shortcode('[td_block_trending_now]'); ?>

Thanks.

Bogdan B.
tagDiv Staff

Hello,

Unfortunately you cannot limit the pagination. It will show all posts from the specific filter you add to your block. You can however limit the posts displayed on the page itself (not the number of slides but the number of posts shown):http://screencast.com/t/Nk1Adq3ZTTN
If you want to make the pagination on blocks more visible, you can use a bit of css to do it like for example:
.td-next-prev-wrap a{
border: 2px solid #000000!important;
color: #000000!important;
font-size: 14px!important;
}

Thank you!

Catalin
tagDiv Staff

Hello todaybase,

If you want to change your permanent text with an image, you have to use the do_shortcode method. First of all, you have to create your image with the desired link from Visual Composer, like this -> http://screencast.com/t/H6zqscKH -> http://screencast.com/t/u3Bp3gu6aIgo and then you have to add this code, as an example in loop-single-1.php after your content, like this -> http://screencast.com/t/yzZw46rFvw

The code from y example look like this ->

<?php echo '<a href="http://todaybase.com/paul-okoye-talks-his-new-label-and-his-two-artists/" target="_blank" rel="attachment wp-att-932"><img class="alignnone size-medium wp-image-932" src="http://localhost/ziar_6/wp-content/uploads/2016/02/p2-198x300.jpg" alt="p2" width="198" height="300" /></a>'?>;

Hope this helps and let us know how it goes!

Thanks.

Andrei L.
tagDiv Member

Hi

To get the shortcode for each element from Visual Composer follow this steps:
– add on a blank page the required element http://screencast.com/t/Mp2WYR2Iu
– copy this code and paste it where you want to display the shortcode: http://screencast.com/t/KdEWJSlC
Here is an example for category page: http://screencast.com/t/O5tzxRtJGB0 – http://screencast.com/t/s4zuPUwcG8kN

Thanks!

Andrei L.
tagDiv Member

Hi @orlando

First of all check in System Status if Speed Booster plugin is active: http://screencast.com/t/6lILerCjFuAr You can read more about how plugin works in this topic: https://forum.tagdiv.com/topic/mobile-view-problem-3/
Also not that google it’s more restrictive when it comes about page-speed on mobile devices. For example if on desktop you have 90/100 page-speed, on mobile the number will be smaller. This can be checked on our demo. If you look on desktop page-speed you’ll see that there is no render-blocking resource: http://screencast.com/t/pNE7wUbobndD but for the same demo on mobile devices google find a few resources which slow down the page load: http://screencast.com/t/GpmmJ1LHZVPt
To have the same page-sped on mobile as on desktop are required additional customizations and lots of tests. You can follow google’s indications to improve you mobile page-speed but keep in mint that this is a complex task which require some coding skills.
We can’t offer speed customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks for your understanding and for your message.

venusenaries
tagDiv Member

Hi! It works great! Thanks! Now, if you could help me pls, I would like to know how ro reduce the space between each sidebar widget? The space between widget 1, widget 2 &amp; widget 3. Thanks again for your help! :*

Marto
Participant
Pagination - topic
#0

Hi,

is there a way to limit a block pagination to load just 2 pages for example?

yopyop22
tagDiv Member

i have desactivated everything , i use chrome in console we see that

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5 POST

http://xxxx.qc.ca/wp-admin/admin-ajax.php?td_theme_name=Newsmag&v=2.3.5 500 (Internal Server Error)send @ load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5m.extend.ajax @ load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5(anonymous function) @ td_wp_admin_panel.js?ver=2.3.5:676m.event.dispatch @ load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4r.handle @ load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4

hbcubuzz
tagDiv Member

Wow that was a fast response…

I will show you, an author of my wrote a story, “Howard Student Seeks Justice via Twitter After Alleged Rape By Campus RA”

link says, http://hbcubuzz.com/2016/03/howard-student-seeks-justice-on-twitter-after-allege-rape-by-campus-ra/

When you search, it wont come up

simchris
tagDiv Member

Welll…..

a) if you use the speed booster framework, you would put the code into the Speed Booster plugin settings per the docs for that and the example from Lucien; *and* likely any custom css into your style.css and not in theme panel; and ideally NOT use child theme, to mimize any flash of unstyled text

b) if you’re doing custom hacking of your site, you would put any functions for de/enqueue into the functions.php where all such WordPress “actions” go; then you’d manually put your style.css link in footer. The WordPress codex has good tutorial on how “enqueuing” (adding to queue) works in WP.

c) You would then use the critical CSS generator found in my thread, to put the above the fold CSS “inline” in the header.php file. This loads only the needed CSS for above the fold to load with page — no render blocking of CSS — and then the rest loads with remainder of page. — Trial and error on this stuff.

These efforts are toward solving the pesky lower score on Google PageSpeed Insights for mobile “above the fold render blocking…”

This is a bit “advanced” stuff most folks won’t tackle. But if you’ve got everything ELSE as optimized as possible, this is kind of the LAST thing to do.

And frankly, if you’re using the AMP system for mobile, for a lot of folks, this will be a non issue as Google products will be loading the AMP version vs the responsive mobile version anyway.

So, one could argue if you have a desktop score of 92 or higher, and you’re running “AMP” on your site for posts, you likely don’t need to stress as much as before on the mobile score on Google’s direct testing speed tool. 🙂

( rant over . . . ) 🙂

  • This reply was modified 10 years by simchris.
Andrei L.
tagDiv Member

Hi

You can try this code in td_wp_booster_functions.php file http://screencast.com/t/eJIvSDtqku

add_filter('redirect_canonical', 'td_fix_wp_441_pagination', 10, 2);
function td_fix_wp_441_pagination($redirect_url, $requested_url) {
	global $wp_query;

	if (is_page() &amp;&amp; !is_feed() &amp;&amp; isset($wp_query->queried_object) &amp;&amp; get_query_var('page') &amp;&amp; get_page_template_slug($wp_query->queried_object->ID) == 'page-pagebuilder-latest.php') {
		return false;
	}

	return $redirect_url;
}

However I am not sure that this will work with V 1.5 of the theme, and in that case the only way to fix the pagination issue it’s by updating the theme.

Thanks!

  • This reply was modified 10 years by Andrei L..
guadaltech
Participant
#0

Hello, we are set style 8 by default for all post, but doesn´t look like the post example style 8, can you see here .

We have tested others styles, like 5,6,7,… and and none of them do any change in the post style, only the background disappears.

Bogdan B.
tagDiv Staff

Hello,
This does not sound like the same problem as above. Please provide a link to your website so we can inspect it and provide a few examples of how the issue occurs so we can understand better how to help.
Thank you!

_edwin_
Participant
#0

Example: http://stressplein.eu/concentratieproblemen/

Is that the way it should work? H1 seems to be important in SEO and I think I see the header in the small example thumbnail.

Andrei L.
tagDiv Member

Hi

The theme display posts following some specific rules and according with the filter set for any block in each page. For example if you publish a post which belongs to News category that post will automatically be displayed on News category page in first place. This is a WordPress default functionality, each post which belong to a specific category will be displayed on that category’s page.
On pages the theme display posts according with the filter set in each block’s settings: http://screencast.com/t/kNFrQMah5Ra You can read more about block settings in this tutorial: https://forum.tagdiv.com/newsmag-block-settings-tutorial/ also you can find some useful informations about page setup here: https://forum.tagdiv.com/newsmag-homepage-how-to-build-and-set-it/
Note that the theme posts displayed on pages will also be displayed on categories pages. This is how WordPress works.
The theme also have a unique article option, but this works for any individual page, bot for entire site. By enabling this option: http://screencast.com/t/TeZwRX5c13W the theme will display only unique article on pages’s first load. However the posts displayed on that page will also be displayed on category page or on other pages with similar filters. To avoid having duplicate posts on many pages you have to set the filters such that the theme to display different posts on each page. Here is an example:
– in page named Recent News let’s say you add a block and set it to display posts from News category.
– in page named Older Stories let’s say you add a block and set it to display posts from Old Articles category.

Following this example on your pages won’t appear duplicate posts, each page will display posts from the selected category.

I hope this helps.
Thanks!

Catalin
tagDiv Staff

Hello Mayapur Voice,

Unfortunately, our theme does not have such an option to offers you a possibility to set different background image for your each page. If you want to achieve this, you have to use a bit of CSS code and insert the different image for each page with page ID. Also, you have to use background-image attribute for achieving that. Below I gave you an example of one page.

The code is ->

.page-id-951 .td-main-content-wrap, .page-id-951 .td-banner-wrap-full, .page-id-951 .td-header-menu-wrap {
background-image: url('http://wowslider.com/sliders/demo-5/data/images/saarschleife.jpg');
background-repeat: no-repeat;
background-size: 1920px 1080px;;
}

Consult here http://screencast.com/t/xPK02pMJwb and see how you can get the page id.

Please notice that you need some additional customizations after this code that involves custom work. If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide customization services at the moment, sorry!

Thank you for the message!

Catalin
tagDiv Staff

Hello ppcker,

If you want to add a universal text below for all your posts, you have to use do_shortcode method and add this for all corresponding file to your post template used by you. First of all, you have to edit the text block with your desired text, like this -> http://screencast.com/t/sIdwp5aT -> http://screencast.com/t/f9SOma8H and then you have to create this code <?php echo do_shortcode('[vc_column][vc_column_text]INSERT YOUR DESIRED TEXT HERE.[/vc_column_text][/vc_column]'); ?> which you have to place in the code. For example, if I sue the post template style 1, you have to edit the loop-single-1.php, like this -> http://screencast.com/t/38R9rjgt and the result you should see here -> http://screencast.com/t/ka2l2IlwM

Hope this helps and let us know how it goes!

Thank you for the message!

Andrei L.
tagDiv Member

Hi

The 7 days most popular posts works like this:
– first you need to have post view counter enabled from theme panel > post settings as I mentioned in my previous reply
– the sort start counting from the moment all conditions are meet, for example if you enabled the post view counter yesterday the theme will display posts with most views staring from yesterday. The theme will not consider the previous post’s views, will consider only the views from the moment when popular sort it’s enabled and post view counter is also active on the page.

Thanks!

delpech21flr
Participant
#0

Hi,

I am trying to setup adsense code and “content.ad” widgets on my site. From the theme panel I have managed to set up both codes correctly and also when I go to the widget area, I have added to correspondent tagdiv boxes.

When I got to my site, the widget that it’s supposed to be on the sidebar shows at the bottom, and the widget that it’s supposed to show at the bottom of every post, it shows double.

Any suggestions or ideas what could be wrong? Take a look at this page for example

https://buzzglory.com/when-you-see-what-this-guy-made-out-of-coke-bottles-youll-be-gunning-to-try-this/

the widget display double and on the bottom

but when you go to the homepage

https://buzzglory.com

The widget that is supposed to show in the sidebar, displays correctly

Thank you!

simchris
tagDiv Member

Main issues are

a) search remove any alignment tags from WP like on paragraphs which should have been CSS classes

b) look for weirdo iframe syntax errors, as some of those not sure how to fix

c) make sure anything loaded from external locale is https (like YouTube, any “embeds” of ANY kind …)

the AMP plugin, + Yoast SEO, + Yoast ‘glue’ plugin can fix some stuff in meta, but NOT stuff in the content.

btw, if you’d like to syndicate some of our national news (from @send2press) let me know 😉

Viewing 25 results - 33,276 through 33,300 (of 38,683 total)