Comments (4)
The size can be set in CSS. These are SVG icons and will scale infinitely. Also, since I am now using the Social Logos pack from Automattic, this is the same icon set Jetpack uses. There are two ways to add it... inside the content block or outside. Outside requires hacking the theme.
from syndication-links.
For reference, here's the CSS that jetpack uses:
/* Make the Syndication Links replicate the font characteristics of JetPack */
.relsyn {
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 0.8125rem;
font-weight: 400;
}
from syndication-links.
I added support for three different icon sizes. I am reluctant to set font families as I prefer to inherit from the theme.
from syndication-links.
That's acceptable and should work well.
For those in the future looking to change their CSS to match JetPack, try the following:
- In the settings, change "Text Before Links" to:
Syndicated to: <br/>
- Add the following CSS snippet to your theme (preferably as a child them) or to the "Additional CSS" tab from within the Customizer:
/* Make the Syndication Links replicate the font characteristics of JetPack */
.relsyn { font-family: Montserrat, "Helvetica Neue", sans-serif; font-size: 0.8125rem; font-weight: 400; }
I'm guessing the medium size should work well for the icons (once that feature is released). One could add some additional padding/margins and the <hr>
as well, but for some reason I've had difficulty pulling it off in CSS (or I've been missing some override somewhere...)
As always, thanks David!
from syndication-links.
Related Issues (20)
- Improve Twitter for Micropub HOT 1
- Make clearer token is required for Micropub
- Log completed syndications separately from the syndication url field.
- Crash on v4.4.1: Call to undefined function get_syndication_links_data() HOT 1
- Can't add second synd link HOT 2
- upgrade to 4.4.2 led to a fatal error HOT 2
- Look for tweet_urls in tweet_urls HOT 1
- Bridgy Fed crash HOT 1
- Option to default providers on for all posts HOT 12
- Drop webmention vs micropub options HOT 3
- Checkboxes on settings page would benefit from labels HOT 7
- PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in syndication-links/includes/class-syn-meta.php:97 HOT 10
- Critical error after updating to 4.4.5 HOT 5
- Add tests to load disabled files
- Not seeing the syndication link field HOT 9
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress HOT 1
- Add icons for a few more sites HOT 14
- Token Settings Not Appearing
- Re-syndicate when a post is trashed/deleted HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syndication-links.