- This topic has 11 replies, 2 voices, and was last updated 11 years, 2 months ago by
Tom.
-
AuthorPosts
-
September 5, 2014 at 9:43 am #24754
Maxime
Hi,
1) Is there a way to affect two different blog page ? I would like to display only some article on one page (first category) and another article’s category on another page.
2) I want to use Gallery function but I could not find one on your theme…
So I decided to use wordpress default gallery. I need to link my images to Attachment page but I want this page to display only two things: my image and its description. Is there a way to hide other items and comment field on attachment page ?Thank you,
September 5, 2014 at 11:25 am #24810Tom
Lead DeveloperLead DeveloperHi there,
1) For sure – you can simply link people to the category. In “Appearance > Menus”, you’ll see you can add Categories to the menu just like pages. The category page will only show posts in that category.
2) To disable comments, use this plugin: http://wordpress.org/plugins/disable-comments/
To remove other elements, you can use this CSS:
.attachment .entry-meta { display: none; }September 8, 2014 at 9:01 am #26181Maxime
Hi,
Where should I add the CSS code ?
Thank you
September 8, 2014 at 9:03 am #26182Tom
Lead DeveloperLead DeveloperI would use a plugin like this: https://wordpress.org/plugins/simple-css/
September 9, 2014 at 3:21 am #26461Maxime
Thank you, it’s working and nice like that ! I would like to display next previous arrows if its possible ?
Also I have an issue, image is displayed twice. One is above the post now as you can see: http://www.conference-bordeaux.fr/promotions/avocats-2012/#main
September 9, 2014 at 7:42 am #26585Tom
Lead DeveloperLead DeveloperThis is because you have a featured image set, and you’re displaying it in the content as well.
If you have the Disable Elements addon installed, you can choose to hide the page header/featured image by checking that checkbox.
Let me know 🙂
September 9, 2014 at 10:12 am #26628Maxime
This is a wordpress Gallery so I didn’t specify a featured image… Also can I enable only previous/next arrows ?
I tried to use your plugin Disable Element but it doesn’t work ! Could you see for yourself on my website ? I’ve already e-mailed you an user account.
Thank you
September 9, 2014 at 1:52 pm #26788Tom
Lead DeveloperLead DeveloperYou can use this CSS to disable the page header on attachment pages:
.attachment .generate-page-header { display: none; }September 11, 2014 at 12:48 am #27468Maxime
Thank you ! How can I enable previous/next arrows ?
September 11, 2014 at 9:39 am #27803Tom
Lead DeveloperLead DeveloperWe removed the next/prev links with the code above.
To bring them back, do this:
.attachment footer.entry-meta { display: block; }December 19, 2014 at 10:42 am #56259Maxime
Hi,
Your CSS code
.attachment .generate-page-header {
display: none;
}is not working anymore since I updated Generate Press.
Can you give me the new one ? My problem is when I click on a gallery element I have the gallery image twice like on this page: http://www.conference-bordeaux.fr/promotions/sipa-919991-jpg_672419/#main
Thank you,
December 19, 2014 at 10:44 am #56261Tom
Lead DeveloperLead DeveloperDid you add that CSS to the core CSS of the theme? If so, it makes sense it was removed as updating removes all of the core files and adds the new ones.
I suggest using the plugin in my signature below to add that same CSS.
Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.