-
AuthorPosts
-
May 11, 2023 at 2:17 pm #1407116
Hello,
gibt es eine Möglichkeit die Copyright Infos aus der Mediathek in den meta Daten anzeigen zu lassen, so wie das Datum der Veröffentlichung bei Beiträgen? Eventuell daneben?
Hi,
is there a way to show the copyright info from the media library in the meta data, like the date of publication for posts? Possibly next to it?
Thanks in advance,
best KiM
May 12, 2023 at 4:52 am #1407172Hey Blatze,
Thank you for the inquiry.
You can directly add the copyright info in the includes > loop-index.php file around line 433 where the date meta info is located.
if( 'blog-meta-date' == avia_get_option( 'blog-meta-date' ) ) { $meta_time = '<time class="date-container minor-meta updated" ' . avia_markup_helper( array( 'context' => 'entry_time', 'echo' => false ) ) . '>'; /** * Modify date displayed for meta data of blog * * @used_by enfold\config-events-calendar\config.php avia_events_modify_event_publish_date() 10 * @since 5.3 * @param string $published_time * @param int $current_post['the_id'] * @param string $date_format * @return string */ $meta_time .= apply_filters( 'avf_loop_index_meta_time', get_the_time( get_option( 'date_format' ) ), $current_post['the_id'], get_option( 'date_format' ) ); $meta_time .= '</time>'; $meta_info['date'] = $meta_time; }
You can also use the “avf_post_metadata_array” filter to add the html of the copyright info in the meta container.
Best regards,
IsmaelMay 15, 2023 at 2:49 pm #1407444Thanks for your help!
Realized it with a plugin:
Works fine with Enfold!
Best Blatze :)
May 15, 2023 at 7:15 pm #1407473Hi,
Great, I’m glad that you found a solution. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardMay 16, 2023 at 1:07 pm #1407591you can close it. thanks! :)
May 16, 2023 at 1:30 pm #1407604Hi Blatze,
We’re happy to hear that :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Copyright Picture’ is closed to new replies.