imagonos
Chevereto Member
Hello,
I tried to edit the /image embed codes but the only part of the code that I find somewhat related to the embed function is this one:
All I find is that this code is calling for $embed and theme_show_embed_content which I can't really figure out how to edit.
Any help would be appreciated!
Regards,
imagonos
I tried to edit the /image embed codes but the only part of the code that I find somewhat related to the embed function is this one:
Code:
<?php if(CHV\getSetting('theme_show_embed_content')) { ?>
<div id="tab-codes" class="tabbed-content">
<div class="growl static text-align-center margin-bottom-30 clear-both<?php if(get_image()['album']['privacy'] == 'public' or get_image()['album']['privacy'] == NULL) echo " soft-hidden"; ?>" data-content="privacy-private"><?php _se('Note: This content is private. Change privacy to "public" to share.'); ?></div>
<div class="panel-share c15 phablet-c1 grid-columns margin-right-10">
<?php
foreach(get_embed() as $embed) {
?>
<div class="panel-share-item">
<h4 class="pre-title"><?php echo $embed['label']; ?></h4>
<?php foreach($embed['entries'] as $entry) { ?>
<div class="panel-share-input-label copy-hover-display">
<h4 class="title c5 grid-columns"><?php echo $entry['label']; ?></h4>
<div class="c10 phablet-c1 grid-columns">
<input id="<?php echo $entry['id']; ?>" type="text" class="text-input" value="<?php echo $entry['value']; ?>" data-focus="select-all">
<button class="copy-input" data-action="copy" data-action-target="#<?php echo $entry['id']; ?>">copy</button>
</div>
</div>
All I find is that this code is calling for $embed and theme_show_embed_content which I can't really figure out how to edit.
Any help would be appreciated!
Regards,
imagonos