Comments (2)
Hello,
You can call each link directly from config.ini using this code:
<?php echo config('social.twitter') ?>
so simply write in your theme like below (example):
<a href="<?php echo config('social.twitter')?>"><img src="<?php echo site_url() ?>themes/yourtheme/img/twitter.png"/></a>
Remember if you even can add new setting in config.ini, example:
my.twitter = "@htmly"
to print it in theme simply call <?php echo config('my.twitter') ?>
from htmly.
Thanky you, that's it.
from htmly.
Related Issues (20)
- Is this project active? HOT 2
- A pointer for improvements HOT 24
- feed/rss - PHP Fatal error: Uncaught Error: Class "SimpleXMLElement" not found HOT 2
- Escaped backslashes removed when editing posts. HOT 4
- RSS into a page HOT 8
- How can i generate sitemap.
- When viewing site on a phone browser the static pages do not display or refresh correctly HOT 5
- Multilingual improvements
- Several error in HTMLy with php 8.2 HOT 2
- Featured Image
- Installation errors HOT 1
- Number tags can only be applied to one post HOT 2
- Does the No Cache button work or should I delete some lines of code? HOT 2
- Where's the code for the cache? HOT 1
- Cannot get Disqus to work with automated content
- Views are reset when editing a post HOT 17
- deactivate banner of blog entries HOT 1
- Has anyone coded a Hero image into HTMLy? HOT 1
- online-installer redirects to non existing pages HOT 4
- New Kid - love the app HOT 1
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 htmly.