I am trying to use this plugin with my Wordpress blog, and I would like it to display on the index.php page. However, if I do that, I lose my "blog" because that index.php is what normally displays the posts.
How do I put the gallery on the homepage of the blog and still have a page somewhere that has all the posts in order?
Does this make sense?
How do I put gallery on homepage, but still keep blog??
3 posts • Page 1 of 1
- Thank you for using the Featured Content Gallery Forum
Re: How do I put gallery on homepage, but still keep blog??
Or is there a way to put this code inside the content of one particular page instead of going into the .php file? I'm restricted as to what files I can edit (business website).
- vandygirlcr
- Posts: 2
- Joined: Mon Jun 27, 2011 7:37 am
Re: How do I put gallery on homepage, but still keep blog??
to do that you have to have exec plugin to execute php code in pages/posts/widgets.
then you put the gallery call in any page/post or widget area edit in format
then you put the gallery call in any page/post or widget area edit in format
- Code: Select all
<?php
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
?>
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests









