pank6119
Forum Replies Created
-
Hello @skalanter Thanks for Quick Reply & Help since You know So much About Web designing & Development Can I just Ask You For Small favour If u can Tell me About How Javascript code to pause Embeded When not on screen or only playing one video of the page at a time . I know this not related question but i have searched & tried a lot but videos embed from different social platforms are getting tough to be controlled through js. If u can help in anyway with a link or advice or piece of code that can control embeded videos to pause when not or play only one video from the page code it will be really helpful for me. Thanks a lot for all help till nowπ
Forum: Themes and Templates
In reply to: [OceanWP] Help To Change Css Of Few ElementsThank u @skalanter For All Help But i Still unable to this for my other website https://simvideoshot.infosapk.com/ i need to change color to white for categories and mobile menu text but thats not working it worked on that website simvideos.infosapk.com only i m unable find class names properly
ok I found it copy pasting in additional css works good but Editing it there itself never work π€£ I don’t know why this happens π€£ with me always. Thanks Marking it resolved
Forum: Themes and Templates
In reply to: [OceanWP] Unable to Increase Size of Mobile Header Logohello @skalanter Thanks For helping I didn’t knew Header Logo was set By me unknowingly(mistakenly) π€£ And It would Affect mobile header Logo also ,I wasted A whole day trying to find correct css to this π
Thanks For making me understand and helping Me u R real gem Thanks πOnce Again. marking as resolved
thank You very much @skalanter bro u have been very helpful to me building this website πππ π»marking this resolved
- This reply was modified 2 years, 10 months ago by pank6119.
Hello @skalanter Thanks for Quick reply I m still confused when fifu image url column has value of img url why i need to update _thumbnail_id with attachment_url_to_postid( $fimg_url ) . Ok i will still update and try this code for sure π bcoz feature img is important for post on searching a post or while sharing though i hv already Updated my website to directly display videos rather than feature Image on homepage i have added this code in css to hide feature image
.blog-entry .thumbnail img { display: none; }If there is any other good way to hide feature image from blog-entry pages otherwise thanks for all help i will mark it as resolved if that’s a right way to hide feature image and thanks for above code i will implement it to display images if required on single entry or search page
Hello @skalanter Thank u For Quick Response & Helping U have Always Helped Me Alot. π
First of all I m Not So Good In Coding π So I Found Few Jack’s nd Being Lucky I Found A Plugin Custom / Bulk Quick Edit Which Helped me To Add Custom Fields so i added custom column
$columns[‘fimg_url’] = esc_html__( ‘FImg Url’ ); &
add_action( 'save_post', 'update_fifu_image_url', 10, 2 ); function update_fifu_image_url( $post_id, $post ) { // Check if the post type is 'post' if ( $post->post_type !== 'post' ) { return; } // Get the value of the fimg_url meta key $fimg_url = get_post_meta( $post_id, 'fimg_url', true ); // If fimg_url is not empty, update the fifu_image_url field if ( ! empty( $fimg_url ) ) { update_post_meta( $post_id, 'fifu_image_url', $fimg_url ); } }Then replicated fifu_image_url with value of fimg_url column
Fifu_Image_Url is Column That is responsible to display feature image from url using fifu plugin so this way from i m trying to update fifu image url and I using Post Duplicator to duplicate post a private post with blank values to new updated values
And My problem is Homepage is not displaying Feature Image Might be bcoz Feature image from url plugin might be also replicating value to feature image folder and ocean wp might take feature image from that column
yes Thanks for all Help your code solved my query but my problem was i wanted to display link of the video and embed video one below the other using same placeholder trial video with link of the video but i sorted it around now by creating whole html code inside shortcode thanks for help marking it resolved
ok Thanks for guidance nd quick response . I m not so good in coding your code will work for me but maybe i have to use two placeholder like video_link & trial_video with same link then one will display link and other will embed video of that link on same post page.
Thank u for ur Excellent work & listening to requirements Very grateful for it π
its Strange I created new plugin for this code specifically and it worked but it wasn’t working modifying old custom Plugin. I Found the solution marking as resolved Thank u
marking as resolved
I understood now the function is in blog-entry.php π which i was looking for i would create custom plugin and will add hook action to this function so that theme updates won’t change my code thanks for help i was looking for correct php file i got it now.
hello @skalanter Thanks For helping & Quick response I m not so Good In Php but I Think I can Handle this Once I understand for which Function I have To work
I Can Locate entry folder inside themes/oceanwp/partials/ folder Path &
I want to show you Something That I hv done, I hv added a small code in content.php file of entry folder that fetches Post title and feature image alt text from database and display it on all blog entries between title and excerpt data with some styling . That you can See working on all post entries irrespective of date, category etc.
.
Here are Images of path of Entry folder that is present for oceanwp .
And Image of piece of code i have added in content.php
https://i.postimg.cc/9fs8bfBJ/Screenshot-2023-06-22-12-51-58-329-com-android-chrome.jpg
https://i.postimg.cc/MTd5Vzdp/IMG-20230622-125600.jpg
Now I just need to find file or function like get_post_thumbnail() which is responsible for getting thumbnail image data for all blog entries nd add a code that overlay image (play button icon) to all images data . I found Media folder that has file blog-entry-link.php and blog-entry.php since fifu img Media is url link I thought Maybe changing these file will work but i m unclear about that and there is thumbnail style folder too that made it more confusing for me.
If u can help me with something than I can try experiments on stag website.
thanks For all help once again
Forum: Themes and Templates
In reply to: [OceanWP] Oceanwp theme don’t show new column in Post Listoh Yes How Can I forget this Thank u I was looking for this in customization and OceanWp panel π€ͺ Thnks for all Help
Marking resolved