SELECT
parent.ID AS post_id,
parent.post_title AS parent_title,
attachment.ID AS attachment_id,
attachment.guid AS attachment_url, (image URL)
attachment.post_title AS attachment_title
FROM
tr_posts AS attachment
LEFT JOIN
tr_posts AS parent
ON
attachment.post_parent = parent.ID
WHERE
attachment.post_type = 'attachment'
AND (attachment.post_name REGEXP '[α-ωΑ-Ω]' OR attachment.guid REGEXP '[α-ωΑ-Ω]');
Εικόνες με ελληνικό url σε WordPress. Πρόβλημα για τα social
Δημοσιεύθηκε στην Wordpress. Αποθηκεύστε τον μόνιμο σύνδεσμο.