Add media and attach images to pages

Why:

In WordPress one can only attach a file to a single parent post. This is because the relationship is stored in the wp_post table as the post_parent field. It’s a bigint(20) type so it can only contain a single number (ID).

Workaround:

We would need to cook something ourselves, maybe that could be by using a custom taxonomy for our attachments or perhaps using custom fields (post meta) to store the attachments IDs?

Or we could try some plugins out there that can help us re-using our attachments.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)