Comments (6)
Hi there,
the text can be changed from the customizer: https://prnt.sc/1rllnk4
from yith-proteo.
Yes but in a multilanguage website I need that is localized, in the po file there is the string but this code ignore the case that the parameter in th customizer is empty and use that one.
from yith-proteo.
Seems also as how the file names are structured in the theme they are not loaded by wordpress as in languages the file has the theme prefix but natively is not looking for them with that name
from yith-proteo.
function yith_proteo_modify_read_more_link() {
$string = get_theme_mod( 'yith_proteo_blog_read_more_text' );
if ( empty( $string ) ) {
$string = __( 'Read more ⟶', 'yith-proteo' );
}
return '<a class="more-link" href="' . get_permalink() . '">' . esc_html( $string ) . '</a>';
}
add_filter( 'the_content_more_link', 'yith_proteo_modify_read_more_link' );
I changed the code in this way
from yith-proteo.
ping
from yith-proteo.
Hi there, fixed in commit b4c080e
from yith-proteo.
Related Issues (20)
- 'Warning: Invalid argument supplied for foreach' HOT 2
- It is not really an issue HOT 3
- Disable Google Font HOT 2
- [yith-slider-for-page-builders] - Wrong class for slider container HOT 2
- Elementor pro adding to cart issue HOT 1
- IT_it Translation "Uppercase" should be "Maiuscolo" HOT 2
- Add widget on header left HOT 1
- widget_yith_proteo_account_widget icon is an img HOT 3
- Make logo disappear on sticky header
- Trying to get property 'ID' of non-object HOT 4
- Duplicated proprierties HOT 1
- Obsolete CSS proprierties HOT 1
- Set gallery thumb image size for LCS
- Split widgets in dedicated files HOT 1
- Disable source map HOT 3
- Horizontal scroll if there are blocks with animation and 600px < as width HOT 1
- Incompatibility: gridlist-view-for-woocommerce (by BeRocket) HOT 6
- Translate for "empty cart" button HOT 1
- Customizer - no settings for display product and categories HOT 2
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 yith-proteo.