Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?
    Bildschirmfoto-2023-05-11-um-14-15-38

    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?
    Bildschirmfoto-2023-05-11-um-14-15-38

    Thanks in advance,

    best KiM

    #1407172

    Hey 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,
    Ismael

    #1407444

    Thanks for your help!

    Realized it with a plugin:

    Works fine with Enfold!

    Best Blatze :)

    #1407473

    Hi,

    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,
    Rikard

    #1407591

    you can close it. thanks! :)

    #1407604

    Hi Blatze,

    We’re happy to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Copyright Picture’ is closed to new replies.