fredhdx
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Inject fake oembed response for unsupported sites WordPressHi @bcworkz, thank you so much for your suggestion. That’s the probably the hook I am looking for. So I guess I will just create a
add_filter()
function infunctions.php
? Or should i place it in some other place?But I have another question now. What should be the correct HTML content returned to
pre_oembed_result
hook? Previously my idea was to create a json object, but apparently I need to create a full HTML snippet now and I am not sure to what extend it should be.Thank you again for your help!
Forum: Developing with WordPress
In reply to: Bulk featured image edit with custom post type?? Thank you! I will try it out when I got the chance!
Thanks @imagely that’s exactly the solution.
I searched the codes and found that the ‘[]’ characters are the translation problem.
In the .po file that comes with the plugin, there are strings such as
[Show thumbnails]
and[Show slideshow]
, and[Show all]
,[Maximize]
so on. The corresponding translation also copies it. I suppose maybe you can tell me if it is safe to remove all ‘[‘ and ‘]’ in the .po file?Also, there are duplicate lines in the .po file: (not sure if it is a problem)
msgid “NextGEN Gallery”Thanks.
Forum: Developing with WordPress
In reply to: Bulk featured image edit with custom post typeHard code is what I meant! Sorry for the confusion.
I will have the image-id ready for use and all I do I guess is to assign “image-id” to the post_meta “feature-image”.
thank you a lot for the detailed walk through! I might just do that when I got a chance. I think it is css that I needed.
Hey bcworkz,
I have give it few trials as you suggested. Somehow my small thumbnails are still in the same line with the words. I assumes that I have to dig deeper into css files and possibly bootstrap.
But thanks a lot for your suggestions! They are very helpful in guiding to the right direction.
Forum: Plugins
In reply to: [Advanced Bulk Actions] syntax error after activationHey Jesper, I think the new release works! Thank you for your prompt response and of course the great plugin!
Forum: Developing with WordPress
In reply to: Bulk featured image edit with custom post typeHi bcworkz,
Thank you very much for your reply!
Your comments are indeed very true; but my request would be a little easier than that :D.
I don’t need to interact with the code. I only need to set the SAME feature image for like, 50 posts, and if necessary, updates them altogether with another image some time later. I think it is exactly what bulk action does, except the “custom type” would be feature image.
I did not see the feature image as a post-meta in the plugin’s documentation so i am not sure if I just add ‘feature image’ in the csv would work or not.
I apologize for not making my question very clear and I would really appreciate any follow up or a simple yes-or-no.
Thanks.
Thank you @bcworkz. I will try to play with the file as you said when I got a chance. Hopefully the theme is responsive enough so that I don’t have to write .css.