The twentyseventeen_edit_link()
function returns an accessibility-friendly link to edit a post or page. Here is its content:
function twentyseventeen_edit_link() {
$link = edit_post_link(
sprintf(
/* translators: %s: Name of current post */
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
get_the_title()
),
'<span class="edit-link">',
'</span>'
);
return $link;
}
Since it doesn’t provide a hook or filter, you have to use PoEdit to translate Twenty Seventeen’s translation files. Everything you need is included in the PoEdit official site.
Related Posts:
- How to create .pot files with POedit?
- When to use _e and __ for the translation?
- What is a Theme textdomain?
- pass object/JSON to wp_localize_script
- How to concatenate inside the _e() function the right way?
- What is the purpose of an extra file for translation?
- Make a custom theme translate-ready
- Theme elements not translating
- Should we localize custom-made themes / plugins?
- Help with “text domain”, comments_form in WordPress theme
- Prevent WordPress updates from overriding custom language translations?
- Translation-readiness of Koi theme
- Some translations do not work in my template class
- My custom theme does not load the translations
- How to make the_tags title translatable?
- Internationalization and functions that use it
- Translation Issue with WordPress Theme Check in comment_form function
- Default string not appearing want to translate
- Should I change text-domain of TGM library inside theme?
- Single translation for many locales
- comment form args are not translatable (customized comment form)
- Set parent theme language with custom .mo files
- Does the textdomain have to be the theme’s name?
- Why set a second parameter in the translate function?
- Do translation functions like __e() have to take strings in English in themes?
- Translate a child theme with pure PHP and gettext
- Translate a theme with a PO file
- Cart displayed above header
- how to unlocalize theme/plugin?
- WordPress theme doesn’t read my translations from pt_BR.po file
- Theme starter content translation is not working
- Menu names not getting translated
- Any way to permanently translate themes?
- Display Today’s date outside the loop?
- How to detect mobile devices and present them a specific theme?
- Using wp_add_inline_style without a stylesheet
- The difference between calling wp_enqueue_scripts to load scripts and styles in custom theme
- WordPress twentytwenty theme inline css overriding css body
- What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?
- How can I insert default widgets when my theme is activated (similar to what twenty eleven does)?
- Featured Image in 4.4 should be larger on mobile device
- How to disable the gradient and font size internal CSS added by WordPress when using theme.json
- Modifying JS files in Child-theme
- How can you determine whether an image is merely attached or has actually been inserted into a post?
- How do I display the “Archives” widget layout (sidebar) in WordPress by ‘year’ then by ‘months’?
- Where is the correct place(s) in twentysixteen’s header.php to add a Google webfont?
- Flexible WordPress theme creation using themes
- How to support Lazy Loading Assets in a WordPress Theme?
- How can one update a theme on a live site without interruption?
- Toggle Sidebar Display
- How to move the the_excerpt’s read more link to another div
- How to create a custom template to admin dashboard
- Change The Meta-Description Of Home-Page?
- Limit Loop to 5 Posts?
- Add, edit specific CPT with custom role
- how to display search term in the template full site editor
- Table of Contents Before first heading
- How to add new page to wordpress theme through coding?
- Zoom on custom theme without child
- Dynamically generated wordpress customizer options?
- Changing a slider to a grid [closed]
- What do with the index.php … [duplicate]
- Code to determine WP version check
- “Theme without sidebar.php is deprecated”
- Is it acceptable for a WordPress theme to not accept widgets?
- get_term_link is Ending to single.php
- wp e-commerce – theme problem – why won’t it load wpsc-single_product.php? [closed]
- Extending Twenty Eleven Theme
- my excerpts lack the ‘more’ link
- how to retrieve the image title for image Post Format
- Iris color picker in custom theme option page not saving value
- Is functions.php in themes applied to all templates?
- Want to add cart and a search bar in the right of logo line
- how do i develop a global nav and local nav to be wordpress dynamic?
- Why Tags don’t appear in my page?
- How to make a theme unable to be used on a multisite network?
- How to determine when my theme is deactivated?
- 1 post per category on homepage and counting those posts
- if (has_custom_menu())?
- Include external po file for 3th party plugin to theme
- Ensure SQL changes carry over
- only the first post is shown
- wordpress can’t find single-project page
- Show Yoast SEO meta tags in Custom WordPress Templates (Theme)
- Is there a way to add classes to a page when using a Gutenberg reusable block as page layout?
- How to show some of category in wordpress
- using themename_the_custom_logo() in template-tags?
- How to make the media library searchable by image title
- WordPress doesn’t load css, image and js files after moving local installation folder
- Custom page template not showing on page creation
- Undefined index: custom_sidebars
- How To Customise WordPress Comment Submit Button?
- Next/Previous post navigation
- Single Featured Image Repeating
- Main Menu Theme Different Output Print
- How can I install my custom-made theme on a wordpress.com blog? [closed]
- IS there any reason not to include javascript in my own post’s embeds?
- How to create more templates to the same theme?
- A problem in loading index.php
- .submenu class missing in output from wp_nav_menu