Change in media library doesn't affect published articles - php

I'm running a WordPress blog with a lot of published articles and a lot of pictures in the media library. My question is:
Is there a way(plugin?) to make WordPress apply changes I made in the media library(e.g. changing the description/alt text of a picture) to already published articles containing that picture?

Each time a media is used by Wordpress on a template, its proper data (excerpt, etc.) sould be loaded.
Try to clean your cache to force Wordpress to reload the data.
Maybe the theme you use on your blog don't use the right fields to populate the alt text of the pictures. Semantically, it should be 'image_alt' and 'post_description'.

Related

WordPress media querying?

I am using a WordPress 4.9.2 installation for a project which uses a custom gallery. What I would like to do is organize media by folders (which there are a few plugins for) and then query that media by folder/category so I can use it for the gallery. The approach I have found using web searches suggests you put the media inside of posts as attachments and then query those. This seems very unintuitive to me from the perspective of a user trying to change the gallery content. Is there a better solution than this?

Exporting wordpress posts with gallery?

so I want to export WordPress posts to pdf or doc and I accomplished that using plugins like Aspose pdf/doc exporter, but I faced the problem previous it specialist uploaded images into gallery and because of that, those plugins can't find any pictures inside post and because of this my post gets exported just as simple text. Of course I can do it manually but that would take tons of my time so is there any way to accomplish this?

Extract posts from wordpress blog to another site

I'm having a site where i would like to show posts from other blogs. I want to integrate it into my website, therefore i need to scale down the images and place it inside and div. I know i get get the content from the blog /feed?=json, but since i need a little more freedom on the image size, what would be the best solution?
You want to post from a feed into WP directly? If you want work with the content and image size, you might need to add new posts per article.

Render a WordPress post outside of wordpress

I am trying to show wordpress posts outside of the wordpress framework. I have access to the wordpress database and am able to retrieve posts from the wp_post table, but the HTML in the post_content column isn't the same as in the actual blog. For example, if I have an image caption, it shows up in the post_content column as
[caption id="attachment_23" align="aligncenter" width="218"]Caption test[/caption]
Is there any way that I can render the database HTML so that it shows up the same as on the actual blog. I am not worried about styling and would actually prefer it if the HTML isn't styled at all.
Please help as much as you can.
You should use the XML-RPC API: http://codex.wordpress.org/XML-RPC_Support instead of accessing directly the database.
It will be easier to render the posts.
This is an ugly solution, but if you have WordPress installed but don't want to use in the traditional way, for whatever reason, you can use wp_load.php. Just do require_once(PATH_TO_WORDPRESS/wp_load.php), then you'll have access to all the WordPress features, including The Loop.

Wordpress Gallery Links

I have a Wordpress page which is showing gallery that I created by using Wordpress built-in post editor: into it here is its url: http://jalrosh.com/lylescenter/?page_id=8
Now the issue is that when I click on some image its big image opens in a new page and that is disturbing page design. It should come in the central area but it is appearing on the top of the remaining page.
There are several plugins that could help you do this. For example http://wordpress.org/extend/plugins/lightbox-2-wordpress-plugin/ I haven't used this plugin, but a wordpress plugin search for "lightbox" came with several options. Try some of them out and see what one you like best.
I haven't tried any of them but supposedly they should take any image and have it viewed via a lightbox (which is the correct term for having the image displayed over the existing page).

Categories