- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Multumesc pentru replay.
In momentul in care dezactivam tagDiv composer, modul de redare al articolelor se schimba drastic in rau (al celor din demo)
Noi dorim sa utilizam WpBakery pentru ca ofera posibilitatea de editare din backend.
Sa inteleg ca modalitatea de lucru reocmandata este:
– instalare template
– instalare WpBakery
– dezactivare tagDiv composer
– editare posturi/pagini?
Am publicat un articol cu tagDiv composer dezactivat si se pare ca functioneaza ok.
https://365web.ro/test-page-sb/ – continutul din sidebar nu mai este suprapus peste cel din campul articolului.
Multumesc.
Hi,
I’m currently trying to modify td_module_8.php
When loading the posts it states:
<?php echo $this->get_title($title_length);?>
and a little above that
function render() {
ob_start();
$title_length = $this->get_shortcode_att('m8_tl');
?>
Well now, we would like to truncate based upon number of characters, and then on whole words.
Searching the internet I find this bit of code, meaning it will allow a max of 35 characters :
echo substr( $title, 0, strrpos( substr( $title, 0, 35), ' ' ) );
and this one too
function truncateStr($input, $length)
{
//only truncate if input is actually longer than $length
if(strlen($input) > $length)
{
//check if there are any spaces at all and if the last one is within the given length if so truncate at space else truncate at length.
if(strrchr($input, ” “) && strrchr($input, ” “) < $length)
{
return substr( $input, 0, strrpos( substr( $input, 0, $length), ' ' ) )."…";
}
else
{
return substr( $input, 0, $length )."…";
}
}
else
{
return $input;
}
}
How would I be able to replace this bit of code with something like the one mentioned above ?
Every effort I have made so far has resulted in the posts simply not showing at all…
kind regards
Nick
extra info.
The goal is too truncate titles which are too long, preferrably replacing the missing words with “…”, in an effort
to not create extra paragraphs and distort the design of the site.
Hello gregy,
Sorry but our AMP has not been designed to support ACF and we cannot say for sure if the theme will work as expected with it, unfortunately!
Thanks for your understanding!
Salut.
Incercam sa folosim tema Newspaper pentru unul dintre proectele noastre.
Pana in acest moment ne-am lovit de urmatoarele probleme:
– nu putem salva / updata paginile cu o cantitate mare de continut (pt acest aspect incercam sa optimizam setarile serverului) Aveti aici un screen din setarile temei https://screenshots.firefox.com/DwYFf5hUdqTXRhFB/365web.ro
– incercam sa folosim WPBakery Page Builder pentru articole/pagini. Intampinam urmatoarea problema: orice combinatie de page template/ sidebar position alegem – odata salvat articolul sidebarul (in cazul nostru in dreapta) vine si este afisat peste continut. O rezolvare de moment este ca la fiecare element/rand din WPBakery Page Builder sa setam Stretch row and content la setarile elemntului , optiunea Row stretch. Linkul de mai jos va prezinta simptomul mentionat – sidebar peste continut: https://365web.ro/xbox-one-to-launch-in-china-this-month-after-all-2/ La acest articol tot ce am facut a fost sa scurtam continutul si sa adaugam un element text in WPBakery Page Builder, fara a afecat setarile de template, sidebar, categorie.
– o alta problema este ca odata activa wordfence situl este sensibil mai lent.
Cu mentiunea ca problema 2 este aceea ce ne streseaza cu adevarat, va multumesc.
A plugin was certainly the issue for the image.
As for the comments, are there any options regarding integrating another comment system into the amp pages? Currently, they show the standard WordPress comments and when you click on them they take you to the non-amp version of the page. If there is no way to swap the comment systems out, is there at least a way to hide the wordpress comment system in the AMP pages?
Thanks!
-
This reply was modified 8 years by
Warruz.
Hello,
If I set a red color for example to a category tag for a certain category, this color will appear for category tag on the category page and for each post which has this category as you can see here -> https://www.screencast.com/t/8X5XGy6bLgwv
If is not what you mean, please provide more details about your desired changes and you can give some useful screenshots with your wanted modifications.
Thanks.
Every time I ask for a support team the answer is always the same, you never have a solution, when in fact they are the developers of the theme and should have, maybe it’s just too lazy to work. I buy a theme thinking that I will have support for what I need and I always end up being left in the hand. I just asked for a refund and using a pirated version, I’m sure I will have more profit.
This form of color by category I’ve seen, and it’s not what I need, what I need is that this category background is full as in the example I sent you on the link, in which I believe you did not open it.
Once again I have support denied, so I will contact the pack and request my refund.
Thank you in advance for nothing
Hello swamplingman,
Try to add the important tag after the code.
.vc_separator {
font-size:50px!important;
}
The result is here -> https://www.screencast.com/t/ArDCAaFfRYx
Thanks.
Hi guys
At the moment we are using AMPforWP and their paid extension ACF for AMP. Does your AMP version built in theme supports ACF?
ACF is part of every article on our site, so we cannot use AMP without ACF.
Thank you
Hi,
So maybe something like dropcaps for example
– https://demo.tagdiv.com/newspaper/dropcaps/
– https://www.screencast.com/t/iiy4lFz8lOf
If that is not it, maybe it could be done with CSS for an existing element on a page or post. If you could mention more about this I will try to point you in the right direction. Custom CSS code can be created with the help of the browser inspector, then entered in the theme panel
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hello,
after updating the theme to the newest version,
now the Instagram widgets no longer working.
They only display blank spaces, not photos as they should.
Please refer to these screenshots:
http://prntscr.com/jcng4h
http://prntscr.com/jcng9l
And here’s my website’s URL: http://entrepreneurcamp.id/
Please help me fixing this issue.
Thanks before.
Hello cccadmin,
The Google Analytics code needs to be added to the script tags, like this -> https://www.screencast.com/t/0AnmyGNB
The example is below ->
<script>
your analytics code
</script>
Thanks.
Hey,
Well, your suggestion looks promising but same problem. I have checked this on many phones but the same problem. Hardly it shows 1-2 times out of 10 times according to Google Analytics data. Please help me out.
Here are few links –
https://www.ytechb.com/best-rainmeter-skins-customization/
https://www.ytechb.com/5-best-bluetooth-headphones-rs-1000/
My site & Adsense account is 2 years old. Also, It is fully verified the account. Here, I am using WP Quads plugin. I also tested Ad Rotate & Ad inserter but same problem. So, please help me out.
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
As for disqus, sorry but we have not tested implementing third party plugin options into our amp plugin. Here is where the comments are being grabbed onto the amp template: https://www.screencast.com/t/NqJSblflHCH
Thank you!
Hello cccadmin,
The Google Analytics code needs to be added to the script tags, like this -> https://www.screencast.com/t/0AnmyGNB
The example is below ->
<script>
your analytics code
</script>
Thanks.
@trailblazer What you would have to do is to remove the inline text element from the first screenshot you mention. Remove the whole row, drag it in the right corner. Then place a new row in the same position
– https://www.screencast.com/t/23TUzos0bJ4
In that row insert a column text for example
– https://www.screencast.com/t/4l0tlLJkvle
Then in order to display the row below the header set a negative margin top for the row
– https://www.screencast.com/t/jdxnkylad7I
Hi Bogdan,
Thanks a lot for your reply.
This spacing issue was something that affected even old posts, for example this one: http://rinconesdemexico.com/mexico-en-canciones-de-rock/ was posted one and a half months ago but it was effected as well, before it was fine.
I don’t know if it’s something related with the 8.7 update, when I did the updating there was a general issue with all the plugins.
I hope you can support us on this.
Best regards,
It appears my counter & widget for Instagram stopped working on April 1st and is not loading new photos and not counting any longer (I have over 6,400 followers not 6200). Edmondactive.com
I ended up using a plug-in now “open graph for FAcebook & Twitter” but I’m still getting the same behavior, double feature image when posting to Facebook.
Could that be a theme issue? Did anybody witness the same behavior with Twitter large image summary card and Facebook posts?
thank you
Hi, let’s see if you can help me out. I have problems when sharing my post either on Facebook, Twitter, Google+ or even whatsapp … about 1-2 months ago everything worked perfect and captured the images of the links that I put but there is no way, I have everything updated and even deactivated all plugins and nothing, for example, facebook is not able to see the tags or g and yes they are if you take a look at the source code of the page.
I have contacted the server and they tell me that they do not block anything and that they do not see the error. I also contacted the Yoast SEO plugin and they tell me that the plugin is working well and the tags are shown so I do not know where the bug came from and I wanted to know if I can do something from the subject.
My site: https://www.lasrecetasdeangy.com
Thank you very much!!
Hello,
I am a user of newspaper theme and actualy i love it.
However, i blog has lost tons of the power of indexation from the start of the year. I was worry about, and for now I went to google search webmaster and find out lots of mistakes that have no solution, and as i have talked with specialists, they said that those are mistakes from theme, as they have tested plugins and they are normal.
Could you check it please?
9.109 Server Error
1 soft error 404
2.947 Not found
AMP: The URL of the HTML attribute “href” in tag “a” is invalid: 1.200
Index cover: 3.200 Server Errors (5xx)
Hello,
I am new to newspaper. When i create, for example a “Big Grid Full 4” and set the style to …style 4… then i get the category in a blue box on the image. When i install the demo Fitness blog, then the style 4 is a white box in the center. How can i change my blue blue box to such an white box.
Marcel
The posts referencing ‘Source name’ and ‘URL’ do not pass Google’s AMP test. I expect it is the same if you fill in ‘Via name’. Is Tagdiv aware of this and are you working on a fix?
I realised that the grid feature can be costumized when I use the live editor. But I still can’t change some features, for example colors. The option seems to be dissappeared : https://www.screencast.com/t/wKQgFAbnj
I recently installed the Tagdiv AMP Plugin and am running into two main issues when it comes to posts.
The first is that the featured image doesn’t show up, but there is still room for it to exists. For example: http://criticalcoins.com/industry/dont-expect-consoles-to-adopt-digital-only-anytime-soon/amp/
The second, is that it appears to be using the default comment system that WordPress provides, is there any way to integrate Disqus into these pages?
Thank you!