Search Results for 'github'

    No search results were found in Documentation!

Results from the Forum
simchris
tagDiv Member

Heya!
just to chime in …
if they/you are using mod_pagespeed (possibly not), don’t forget to add a webp type;

for advanced users with WOFF2 fonts, you would also add TTL for woff2

e.g.,


ExpiresByType image/webp "access plus 604800 seconds"
ExpiresByType application/font-woff2 "access plus 604800 seconds"

depending on server/CDN setup you might need (out side the time to live section)


AddType image/webp .webp 
AddType application/woff2 .woff2

(on many servers, fyi, you can also do: “1 month” if you prefer)

e.g.,

ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"

I have dedicated server, so as ever each setup type will vary depending on your use 🙂

(( FYI: what is WOFF2? Once you get obsessed with speed, you start getting to the “next level” stuff like so:

The new WOFF 2.0 Web Font compression format offers a 30% average gain over WOFF 1.0 (up to 50%+ in some cases). WOFF 2.0 is available since Chrome 36 and Opera 23.

https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a ))

  • This reply was modified 9 years by simchris.
  • This reply was modified 9 years by simchris.
Catalin
tagDiv Staff

Hi MarioBoriassi,

For other users who access this topic, please notice that after several investigations in this regard have concluded that this type of issue come from WP Supercache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132
Also, please try the theme without any untested plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and rule out any conflicting in the theme.

Thanks for the message and sorry for the inconvenience!

Bogdan B.
tagDiv Staff

Hello,

This is a wp super cache compatibility issue between the plugin and the latest vertsion of WP. This happnes even with the jetpack mobile thee. It a plugin issue, not a theme related issue. We have found a solution for it however until the plugin authors decide to update it. It is a simple one line o code solution:
https://github.com/Automattic/wp-super-cache/issues/132
http://screencast.com/t/YLN48vYD0r9

Thank you!

Andrei L.
tagDiv Member

Hi

WP Super cache is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that plugin’s developer will fix this issue in shortest time.
We have reported this issue to on ghithub and we are waiting for an update from them. Until that, you can try this temporary fix, it should work fine -> https://github.com/Automattic/wp-super-cache/issues/132

Unfortunate we can’t make other recommendation for cache as WP Super Cache is the only tested plugin at the moment.
Thanks!

Catalin
tagDiv Staff

Hello ozgurtaskaya,

For other users who access this topic, please notice that after several investigations in this regard have concluded that this type of issue come from WP Supercache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132
Also, please try the theme without any untested plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and rule out any conflicting in the theme.

Thanks for the message and sorry for the inconvenience!

DaneOLeary
Participant
#0

I’m trying to add a “Time to Read” just above every post and I can’t, for the life of me, get it to work.

I’m going by this and this.

I’ve already created the folder under Newsmag’s “js” folder and the readingTime.js file is in there. I also added the necessary “script” code into “footer.php”.

Where I’m stumbling is that I can’t figure out how I need to change the code and where to put it so that “Time to Read: XX (XX Words)” appears in a line just above the body of every post.

Here’s the code I’m working with:

(Added to “functions.php”)
function readingtime_posts() {
if (is_single() && wp_script_is('readingtimejs','done')) {
?><script type="text/javascript">jQuery(document).ready(function($) {
$('.td-post-content').readingTime({
readingTimeTarget: '.reading-eta',
wordCountTarget: '.word-count',
wordsPerMinute: 180,
round: true,
prependTimeString: 'Time to Read: '
});
});</script><?php
}}
add_action('wp_footer','readingtime_posts',100);

(Added into “loop-single.php”)
<?php if (is_single()) {
echo '<div style="clear:both;"><span class="reading-eta"></span> (<span class="word-count"></span> Words)</div>';
}
?>

Here’s a screenshot of where the loop-single.php code is located: https://s10.postimg.org/raid1n9vd/Screen_Shot_2016_09_12_at_7_09_16_PM.png

Please tell me what I’m doing wrong!!!

Bogdan B.
tagDiv Staff

Hello,

Well the mobile theme plugin does not seem to be active on your site. Please make sure the mobuile theme plugin is active or if you use wp super cache, please follow this topic to learn of an incompatibility issue that can easily be fixed with 1 line of code:
https://github.com/Automattic/wp-super-cache/issues/132
http://screencast.com/t/YLN48vYD0r9

Thank you!

Bogdan B.
tagDiv Staff

hi,

this is the ceopde you need to change in wp super cache for it to work prioperly:
https://github.com/Automattic/wp-super-cache/issues/132
http://screencast.com/t/YLN48vYD0r9
For the moment it is the only solution we can come up with until they update their plugin

Thank you!

simchris
Participant
#0

Hey, party people, avoid upgrading to the latest NEWS SEO add-on for Yoast, v 3.5 if you have any pages or slugs that start with “news”

On one site, using premium plugin + news seo

PAGE
mysite.000/wire/news-room => empty news xml sitemap

CATEGORY
anothersite.111/news/ => empty news xml sitemap

rolled back to 3.4 news seo add-on; then main back to 3.4.1; problem solved.

I have repeated this on multiple sites with use of the news seo add-on; different themes, setups, https non https, etc. – and have reported the bug on github.

Catalin
tagDiv Staff

Hello Nordpresse,

Please3 keep in mind that our mobile theme has not been tested with the external cache and if you have these the theme will not working as properly.
After several investigations in this regard have concluded that this type of issue come from WP Super cache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132
Also, please try the theme without any untested plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and rule out any conflicting in the theme.

Thanks for the message!

Catalin
tagDiv Staff

Hello Birbo,

After several investigations in this regard have concluded that this type of issue come from WP Super cache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132

The author will need a bit of a CSS fix as the CSS got changed a bit in the new update but the author name was not updated for it. So until the next theme version please use this CSS code in the mobile theme’s custom code box:

.td-post-author-name div { display:inline; }

Sorry for the inconvenience but please notice that we will consider fixing all of them as soon as possible in future updates.

Thanks for your understanding!

Catalin
tagDiv Staff

Hello Amme89,

After several investigations in this regard have concluded that this type of issue come from WP Super cache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132

Thanks for your understanding!

Radu
tagDiv Staff

Hi Chris,
That field is used by tagDiv composer to mark pages that are manually modified in tinyMCE. We show a warning when a page is modified manually or with visual composer. It’s name is inspired by https://en.wikipedia.org/wiki/Dirty_bit 🙂

btw the new version of tagDiv composer (v1.0-beta.4) should work better with Newsmag. It is not yet live but I will release it today: https://github.com/tagDiv/td-composer/releases

Catalin
tagDiv Staff

Hello all,

After several investigations in this regard have concluded that this type of issue come from WP Super cache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132

Thanks for your understanding!

mrpis
tagDiv Member

what do you mean you will have to customize the main theme file. You might want to use a program to keep track of changes to the file type github? what do you suggest ?

ChequePata
Participant
#0

Hello, everyone.

Everton Rosario from the FB Instant Article WP plugin team at GitHub gave me this solution to fix the problem of TagDiv Slider gallery not showing on FB Instant Article. Maybe it will work for somebody else here:

You need to add some transformer rules. To do this:
1. Click on the InstantArticles menu Item (usually it stays in the left menu bar)
2. It will open the InstantArticles plugin settings page.
3. Scroll down to find the section called: “Publishing Settings”
4. Enable the checkbox “Enable custom transformer rules”
5. Enter the rules within the common code as below:

{
"rules":
[{
"class" : "IgnoreRule",
"selector": "div.td-gallery-slide-top"
},
{
"class" : "IgnoreRule",
"selector": "style"
},
{
"class" : "IgnoreRule",
"selector": "div.td-button"
},
{
"class" : "PassThroughRule",
"selector": "div.td-doubleSlider-1"
},
{
"class" : "PassThroughRule",
"selector": "div.td-slide-on-2-columns"
},
{
"class" : "PassThroughRule",
"selector": "div.td-doubleSlider-2"
},
{
"class" : "PassThroughRule",
"selector": "div.td-slider"
},
{
"class" : "PassThroughRule",
"selector": "div.td-slide-item"
},
{
"class": "SlideshowRule",
"selector" : "div.post_td_gallery"
},
{
"class": "SlideshowImageRule",
"selector" : "div.td-slide-item",
"properties" : {
"image.url" : {
"type" : "string",
"selector" : "a.slide-gallery-image-link",
"attribute": "href"
},
"caption.title" : {
"type" : "string",
"selector" : "div.td-gallery-slide-copywrite"
}
}
}
]
}

And that did the trick. Have a nice day.

Anak Salam
Participant
#0

How to remove the product data tabs on Woocommerce single product page? I have used this code, but not working https://gist.github.com/jameskoster/5133466

I also tried to use the “remove_action” but it still does not work well

Rik
tagDiv Member

Hi Chris,

I’m talking about this link:

B. Update the theme automatically
As the old Envato Toolkit has become deprecated, it was replaced with a new plugin called Envato Market. Follow these steps to automatically update your theme.

Step 1 – Download the Envato WordPress plugin from here: http://envato.github.io/wp-envato-market/
Step 2 – Upload and activate the envato wordpress plugin (.zip file that you downloaded).

There is no .zip plugin in any of these links and they don’t refer to plugin. If this is actually meant for the actual theme and its .zip file then maybe it should have been worded that way? it’s just not clear all i’m saying.

Catalin
tagDiv Staff

Hello indebuurt,

Far as I know, this type of problem has been fixed in the meantime. Please ensure if you are using the latest version of the SEO Yoast (v.3.3.2) Also, please try to update the theme to the latest version of it (Newspaper 7.1.1), clear all your caches and test it again and check the results. For more references for this, please consult here -> https://github.com/Yoast/wordpress-seo/issues/4328

Thanks for your understanding!

Bogdan B.
tagDiv Staff

hi,
Tables are only responsive if you create them that way. A fixed width is the main culprit here. you need to set the widths of the table in percentage. Try this link:
http://russellgoldenberg.github.io/responsive-table-generator/
or this: http://ianrmedia.unl.edu/responsive-table-generator-tool
Thanks.

Catalin
tagDiv Staff

Hello NightSerf,

We have done a lot of investigation and we found that this problem comes from SEO Yost Plugin in which relate to permalinks (our theme uses get_permalinks function). Please check the following links for more references in this regard, like this -> https://forum.tagdiv.com/topic/error-links-after-upgrading-to-7-newspaper/ and here ->
https://github.com/Yoast/wordpress-seo/issues/4328

Hope this helps!

Thanks for your understanding!

panthro
Participant
#0

Open up the console and that was there:

was loaded over HTTPS, but requested an insecure script ‘http://api.tagdiv.com/user_translations/get_translation?callback=jsonpCallback&language_code=pt&_=1464400386052&#8217;. This request has been blocked; the content must be served over HTTPS.send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:4

can you guys enable https?

I recommend letsencrypt.

If you’re using docker, with a nginx-proxy there’s even a docker for that:

https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion

johnsout
Participant
#0

Hello,

I would like to know if we can implement mockingbird code on the newspaper theme…As you know, 18% desktop users are using an adblocker to navigate the web.
It’s essential for my site this kind of solutions to improve adsense profit.

https://github.com/retargetly/mockingbird

Many thanks,

davidewebcenter
tagDiv Member

Hi Andrei L.
Your example does not solve the problem because caption “https://www.google.ro/&#8221; is not a clickable link
The copyright rules require to have clickable links, this is an example of what you write in caption to be in order:

License ( CC BY-SA ) from flickr shared by cogdog

example of proper attribution in the caption: https://cogdog.github.io/flickr-cc-helper/flavors.html

This causes malfunction in the image galleries (td gallery) and all smart list 1-2-3-4
Modal image with error “the image # 1 could not be loaded”
This is very serious, no one wants to risk legal sanctions for copyright
I’m sorry but if there is no solution i have to change theme, I do not want to have copyright legal problems for my site.

Bogdan B.
tagDiv Staff

Hello,
I ran a few more tests with font awesome and it seems the class method will not work anymore on ‘sub-menu’ items. Please use the alternative implementation like so: http://fortawesome.github.io/Font-Awesome/icon/flag-o/
http://screencast.com/t/xF1wdjiiXZhttp://screencast.com/t/SIn47VxQQC
Thank you!

Viewing 25 results - 226 through 250 (of 336 total)