Search Results for 'github'

    No search results were found in Documentation!

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,
Unfortunately the theme has no settings for this so it will have to be made custom. The php methodf and editing the theme files will prove to be way more complicated so css is the easier choice. You can use font awesome 4 menus to get icons and add them through css.
You will need to assign a custom class to the row of your block like so: http://screencast.com/t/CZ8lKS4g
The you ca use this css to apply the icon:
http://screencast.com/t/aJvQGaRI3e
.mycustomclass .block-title span:after{
content: "\F050";
font-family: FontAwesome;
margin-left:15px;
position:absolute;
top:7px;
color:black
}

The content: “\xxx” is the icon itself and this can be change to any from this list:
https://fortawesome.github.io/Font-Awesome/cheatsheet/
You have to get only the font number (after F) for every font.
Hope this helps.
Thank you!

jatinsoni
tagDiv Member

font awesome 4 menus is a plugin or you are talking about the source? here http://fortawesome.github.io/Font-Awesome/icons/

Bogdan B.
tagDiv Staff

Hi,
First you need to install font awesome 4 menus and then read the documentation for it as they have a list of all the icons provided by the plugin and their implementation method: http://fortawesome.github.io/Font-Awesome/icons/
Thank you!

boruxk
Participant
#0

I would like to have ACF field values to be added to the search result.
I understand that you can not do a lot of customization, so i was searching for myself and i have got this:

https://gist.github.com/charleslouis/5924863

and i was adding this to functions.php, but it is not working for me.

Maybe you can help me to get this working. (Newspaper V 6.6.2)

Pramodc
tagDiv Member

This code created the missing table in the DB https://gist.github.com/anonymous/80fb467852c2c71a5168

BTW, does newspaper theme uses the term_meta table?

Smanchi
tagDiv Member

Hello chris fixed many issues with your help thnx… But i have a problem with Related News Stories, can you suggest me hwo to add the releated news section step by step , i dont understand from the https://github.com/Automattic/amp-wp/blob/master/readme.md

İf possible…

http://sonsoz.com.tr/trumpun-baskanligi-buyuk-felaket-olur/amp/

as you can see no issues anymore 🙂 THNX TONS Again…

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

RTFM:
how to add ‘featured image’ support:
https://github.com/Automattic/amp-wp/blob/master/readme.md#featured-image

===
COMPATIBILITY NOTE
The following plugins have been known to cause issues with this plugin:

Cloudflare (Rocket Loader; modifies the output of the AMP page, which breaks validation.)

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

Note, there is update plugin 0.3.1 today (2/24); also the “Yoast SEO Glue” plugin is now in the WordPress.org repository for auto-install from WP panel or FTP without having to mess with the github dev version!

For those using YOAST SEO + AMP, get this:
https://wordpress.org/plugins/glue-for-yoast-seo-amp/

In my test pages, the “image” works when loaded/placed between paragraphs but didn’t work when it was a featured image loaded on page outside the actual post meta.

If using the YOAST SEO GLUE addon for Yoast SEO, it looks like that will pick up the description and also make sure featured image (fallback to OG image) will be inserted into the code.

Be sure to read the threads for the plugin on WordPress.org (for both plugins).

In my tests in December I found the social plugin I was using didn’t work with AMP, as the FontAwesome font would not load and hence had broken elements for sharing.

I’ll be testing AMP with the Simple Local Avatars plugin, which is the one I happen to use for local hosting of author pix.

==========
NOTE THIS IS EVOLVING AS WE SPEAK
I just got ping back to help debug the alternate wp-content folder path bug, so will be following up with them on that today to help fix that issue.

simchris
tagDiv Member

I think I forgot the link to the AMP plugin customizations / help info:
https://github.com/Automattic/amp-wp/blob/master/readme.md

And, the BETA AMP plugin for YOAST SEO
https://github.com/Yoast/yoastseo-amp

One bug I have reported, is that the plugin will *not* work at all, when you rename the wp-content folder to anything else (I had this custom setup thing I’m working on as /assets/ — for a reason I won’t share here, but related to integrating several other installs of WP on same site at some point).

  • This reply was modified 10 years by simchris.
simchris
Participant
#0

ACCELERATED MOBILE PAGES (AMP) PROJECT SUPPORT LINKS

AUTOMATTIC AMP PLUGIN
https://wordpress.org/plugins/amp/

Plugin support threads
https://wordpress.org/support/plugin/amp

AMP FAQs
https://www.ampproject.org/docs/support/faqs.html

SUBMIT SITE FOR AMP SUPPORT
Google will automatically recognize the /amp/ posts being supported next time they crawl your site from your XML sitemap. You should then get email from them saying “get your site ready for AMP…” — and then they will add AMP testing to your search console (aka webmaster tools).

You have to take first step, then they will catch up eventually 🙂

ADVERTISING SUPPORT (BETA)
https://github.com/ampproject/amphtml/blob/master/builtins/amp-ad.md#running-ads-from-a-custom-domain

POSSIBLE BUG WITH YOAST SEO
“Redirect ugly URL’s to clean permalinks”, if activated, it does not work, according to some folks.

normanapalis
Participant
#0

Hi there, this might fall under your long list of feature requests, but my clients tend to upload images that don’t always work well with the thumnail aspect ratios of the theme. So I looked around for a script that would try to automatically crop images a bit more smartly than just the center of the image or from the top left.

What would be the possibility to incorporate smartcrop.js into the theme?

Here’s some examples. Many of which work fantastic.
https://29a.ch/sandbox/2014/smartcrop/examples/testsuite.html

I’ve also seen this, but not sure how it could be implemented in conjunction with the theme:
https://github.com/SamBenson/smartcrop-wordpress

Realizing you don’t necessarily support other plugins, any direction would be great. Many thanks!

#0

I think it is just a styling issue, but it would be nice to have support added. You can download the plugin on github.

Andrei L.
tagDiv Member
menu - reply

Hi

Please check this tutorial about how can you add icons to the menu: https://forum.tagdiv.com/newsmag-how-to-add-icons-in-menu/ and the css class for the icon indicated in the image can be found here: http://fortawesome.github.io/Font-Awesome/icon/bars/

Thanks!

geolits
tagDiv Member

I don’t unserstand your answer.

I didn’t said that the Font Awsome 4 Menus it doesn’t works.

But if i want to have another picture, other from these Font Awsome 4 Menus give us (http://fortawesome.github.io/Font-Awesome/icons/), how to put it next to a menu item text?

TheRiz
Participant
#0

Hello all,

Are there any plans to make this theme highly compatible with the coming Google Mobile Accelerated Pages project? It seems that many people are going to be applying this new subset of HTML with plugins but curious to know if you have any thoughts as to how this could be applied to Newspaper.

Relevant docs:
https://www.ampproject.org/
https://github.com/ampproject/amphtml

Thanks

martin85
tagDiv Member

Hi Andrei,

Thank you for the suggestion. We endeed have non-english characters in the titles of some of our forms, but not in our testing environment[1]. I’ll try to update to the latest versions and get back to you.

[1] https://github.com/Varying-Vagrant-Vagrants/VVV

simchris
Participant
#0

Hi
before I tried it on a live site, I thought I’d check to see if anybody else had tried out the beta “AMP” plugin for WP, to optimize a better mobile experience for those platforms that plan to support it?

If you’re not aware :
AMP = Accelerated Mobile Pages
ref: https://www.ampproject.org

It’s in the WP repo for download/install.

Dev info – https://github.com/Automattic/amp-wp

simchris
tagDiv Member

Also note you can see bug reports for YOAST SEO here:
https://github.com/Yoast/wordpress-seo/issues

note a LOT of people are going back to the 2x version for the time being until possibly a 3.05 or 3.06 bugfix catches up to all use cases — by switching a lot of their core to JS, they ran afoul of how a lot of browsers, WP admin, and other plugins mess with all things javascript/Ajax.

If you are having major issues, it’s “suggested” by a lot of folks to roll back to prior version of YOAST until the dust settles and/or wait for WP 4.4 to come out in a few days (?) where compatibility issues between the two are more in sync.

  • This reply was modified 10 years by simchris.
Bogdan B.
tagDiv Staff

Hello,
I checked this issue online and found no solution. It seems the new version of seo has problems with visual composer regardless of the theme. Unfortunately they have not come up with a solution yet: https://github.com/Yoast/wordpress-seo/issues/3379
We have not encountered this issue on our side tough and we all have the seo update and the latest version of the theme and VC. Until now we had no reports of this issue on our forums either.
This seems to be a plugin conflict and unfortunately you will need to roll back to seo 2.x. until the plugin developers find a solution for it.
Sorry for the inconvenience.

Andrei L.
tagDiv Member

Hi

Are you referring at this button: http://screencast.com/t/2p4RK6Tk1TB If so then the shortcode is not correct, it should look like this:

[vc_row][vc_column][vc_btn title="Google" link="url:https%3A%2F%2Fgithub.com%2Fopradu%2Fnewspaper|title:test|target:%20_blank"][/vc_column][/vc_row]
Please make sure that you’re using the latest version of the theme which is v2.3.1 and also the updated version of Visual Composer plugin.
If this is not what you mean please provide more details so I can duplicate the situation on my side.
Thanks!

edwardbeckett
tagDiv Member

Thanks Bogdan ~ I’ve actually gone a bit beyond the patch now… I’m using DFP for serving ads and I didn’t really want to modify core theme files… so I built a simple JS factory to insert DFP ads in the ad blocks without disturbing the theme… 🙂

Here’s the JS…

AdFactory

edwardbeckett
Participant
#0

For those interested I’ve added a patch to support adsense XL leaderboards for 970×90…

Here’s a gist patch for the td_block_ad_box.php

rajatahirqaiser
Participant
#0

Hey,
I have purchased Newspaper theme from Evanto marketplace, Installed WordPress Toolkit Downloaded from Github, Updated theme by generating API from Evanto Setting.

I am now sure why but I am able to see so many errors.Solution ?

http://pastebin.com/8B5rc25D

(I have edited your post and placed your error log in Pastebin. Please use this method when uploading large content to the forum. Thank you, Bogdan.)

Alin [tagDiv]
tagDiv Staff

Hi jcarr99,

Here you can find an example how to add a share button – https://forum.tagdiv.com/topic/linkedin-button/
It should work also in your case. You will have to use a font awesome plugin like Font Awesome 4 Menus and use font class for icon – http://fortawesome.github.io/Font-Awesome/icon/reddit/http://fortawesome.github.io/Font-Awesome/icon/stumbleupon/

Thanks!

simchris
tagDiv Member

You might try using the beta plugin from the WordPress folks at Automattic, which can be found on Github if you want to play with “bleeding edge” technologies 🙂

I agree! Would be great to have this built-in also!

  • This reply was modified 10 years by simchris.
Viewing 25 results - 251 through 275 (of 336 total)