Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   make custom attachment page (http://forum.bytesforall.com/showthread.php?t=23559)

_kimberley Sep 25, 2016 10:22 AM

make custom attachment page
Oke it look simple, but I'm working on it for days :)

I made a photo gallery with Folder Gallery plugin and I would like to open each link in a new page like this page:

Is it even possible? The most important is that every page has a unique DATA-HREF for Facebook comments. And if it's possibe with next previous buttons

juggledad Sep 25, 2016 06:25 PM

Have you asked the author of that plugin?

_kimberley Sep 26, 2016 02:25 AM

The plugin only read all files in a folder and shows them on a page, that's al! I could add target or HTML to all the links, but first I have to make a seperate page that shows a picture on a custom page.

That's the reason I ask here if it's possible to make a custom page. Something like
<a href="#" targer="custom">
and then open the photo on a custom page instead of open the link just in browser

juggledad Sep 26, 2016 03:45 AM

Can you create a custom page? Sure, copy index.php as your base and start from there.

However, as I understand it, the plugin reads a folder and creates a link to the image itself (abc.jpg) what you want is a link to a new page and a unique DATA-HREF for Facebook.

That will have to be done in the plugin (change the link to a link to a page). And how are you going to handle the DATA-HREF?
Are they unique for each image?
Do you plan to put all the DATA-HREF's in the custom page code? That means each time you add an image to the folder, you will have to edit the custom pages code....

_kimberley Sep 29, 2016 06:28 AM

ah oke right, I understand!

The only thing I can change is the way the links apears in de photogallery. Now I use a simple lightbox to open the image, but I would like to open the image in a attachmentpage because I already got a facebook comments plugin.

Anywho, I think my question is far away from where this Atahualpa forum is designed for :)

Thanks anyway!

All times are GMT -6. The time now is 04:23 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.