Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
giwalola
tagDiv Member

Hi,

add this code to your functions.php

function get_excerpt_by_id($post_id){
global $post;
$save_post = $post;
$post = get_post($post_id);
$output = get_the_excerpt();
$post = $save_post;
return $output;
}

and change post subtitle code to call excerpt (file is in td-cloud-library>state>single>tdb_state_single.php

$this->post_subtitle = function () {

$dummy_data_array = array(
‘post_subtitle’ => ‘Sample Post Subtitle!’
);

if ( !$this->has_wp_query() ) {
return $dummy_data_array;
}

$post_subtitle_array = array();

$post_subtitle = get_excerpt_by_id($this->get_wp_query()->post->ID);

$post_subtitle_array[‘post_subtitle’] = $post_subtitle;

if ( empty( $post_subtitle ) ) {

if ( tdc_state::is_live_editor_iframe() || tdc_state::is_live_editor_ajax() ) {
return $dummy_data_array;
}

}

return $post_subtitle_array;
};

Hope it helps.

giwalola
tagDiv Member

Solved!

giwalola
tagDiv Member

I think I have not explained well. Look at the attached image: https://ibb.co/GHs4FqD

giwalola
tagDiv Member

The problem is that I don’t want to use Single post bg featured image, I just want to use Featured Image and the audio, but if you use an audio, featured image disappear instead audio.

The fact is that I need to show featured image with caption and audio in the same post.

I tried that code, and it worked with theme templates, but I use customized custom cloud library. How can I do it?

Sorry for my insistence, but I think you must be fix this in text update.

Attached examples of what I need to achieve.

https://www.screencast.com/t/iq0Yhaqko8s

https://www.screencast.com/t/2oqZFEO45zbH

giwalola
tagDiv Member

I need to show post audio and featured image with caption, is not possible? Do you plan
to fix this?
We can’t post images without the font of who take the photo, we are a public means of communications, and we are not aloud to use images without captions.

Any solution for this? Audio player and featured image with caption en the posts?

Thanks.

giwalola
tagDiv Member

But it’s possible to show it in front page? I see that template recognize de audio mp3 url, but in front page it doesn’t appear, it’s like it’s hide. I haven’t used featured audio field and audio appear in post template.

Look at the attached image: https://ibb.co/64t2T0Y

  • This reply was modified 6 years by giwalola.
  • This reply was modified 6 years by giwalola.
giwalola
tagDiv Member

Hi Simion C. Then is so easy, you make me found css that you missing.
I just add this css code and it worked like a charm.

.tdb_mobile_horiz_menu.tdb-horiz-menu-singleline {
overflow-y: scroll !Important;
}

  • This reply was modified 7 years by giwalola.
  • This reply was modified 7 years by giwalola.
  • This reply was modified 7 years by giwalola.
giwalola
tagDiv Member

Hi Calin,

Mobile version with Chrome inspector:
http://www.filedropper.com/mobileversioninchromedesktopinspector

Iphone version:
http://www.filedropper.com/iphone

In mobile slide is not fluid, stops if you haven’t got your finger on the screen,
if you try the same in desktop is the way it has to work, like the websites I sent to you, all have the same functionality. I think is something in javascript, but I’m not sure what it is.

If you try any of this websites in your mobile and you compare them with newspaper theme, you will see what I mean:

elconfidencial.com
menswearstyle.com
aplesfera.com
hola.com
vozpopuli.com
guineenews.org

All do the same, if you slide menu continues sliding even if you don’t have the finger on the screen (In desktop works properly). That’s why I saw that something is not working perfect, I think your theme is the best, and you want it to remain the best 🙂 .

giwalola
tagDiv Member

If you try with inspector in chrome in mobile size it works ok, but if you slide in mobile it doesn’t work properly. I’m sure is some issue.

giwalola
tagDiv Member

Sorry Calin, but you have this option in your theme. I add same menu with your new header builder (Mobile horizontal menu). The problem is that the menu is not fluid. I doesn’t slide well.

https://ibb.co/4KqjSwt
https://ibb.co/NtGfsFT

giwalola
tagDiv Member

Hi. Yes, when I disabled plugin (Events Schedule – WordPress Events Calendar) it works. Do you know how can I fixed this?

giwalola
tagDiv Member

I’ve just discovered that this is more appreciable when I activate Speed Booster plugin.

  • This reply was modified 7 years by giwalola.
giwalola
tagDiv Member

And how to avoid this problem?
First web loads with wrong color and logo, and after it loads ok. This doesn’t happens in your theme demos. Any solution?

https://i.imgur.com/IdkGXuL.jpg
https://i.imgur.com/nxvdb3Z.jpg

Thanks

giwalola
tagDiv Member

Ok, thanks Bogdan.

giwalola
tagDiv Member

Hi Bogdan,
the problem is that my previous theme didn’t have subtitle, it only had excerpts. Now the place where I put my excerpts is the same place of your subtitle.
What I need is to show my old excerpts in the same plase of your subtitle.

giwalola
tagDiv Member

Ok, I will try. It will be nice if you implement this. I think will make your website more useful for multiplatform Busines, like us, we are a radio station, and we make posts with vĂ­deos and audios.
Audio format with an Ă udio icon will be cool, and useful for many people for shure.
Thanks.

giwalola
tagDiv Member

Oks,
and it’s possible to activate native posts formats of wordpress?

giwalola
tagDiv Member

I made I prepurchase question before buy the theme, this was your answer, and now you tell me that you can’t help me…:

“Yes, we will be able to help with the modification as it is a simple call for a png file. You simply change the png to your own play icon. We will point you in the right direction, yes.

Thank you! Bogdan B”

Viewing 18 posts - 1 through 18 (of 18 total)