riffard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: New Gemer theme has a flaw… need help!https://dannci.com/gemer-theme/
You will find your answer under thumbnails!
Forum: Fixing WordPress
In reply to: blank white page instead of siteGreat advice.
Forum: Themes and Templates
In reply to: Exclude Pages from Nav Bar IssueOn second thought, if you want to exclude pages from the Nav Bar, you can really just use wp_list_pages ( ); and just put the ids of the pages you want included and voila. It will not kill, your nav. It’s native to wp, so it should work. If you don’t want the details, just put ‘title_li=’ inside the parentheses and it should work. I just did it using a theme that had the same code as yours for the display of pages (dp_list_pages).
Forum: Themes and Templates
In reply to: Hide Page From NavigationI just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Fixing WordPress
In reply to: Sub PagesAndrea, here is how!
I just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Plugins
In reply to: [Plugin: Exclude Pages] Plugin having no effectIn case this does no work, you can do this.
I just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Fixing WordPress
In reply to: Change order of navi bar withI just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Themes and Templates
In reply to: Exclude Pages from Nav Bar IssueI just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Fixing WordPress
In reply to: how do you exclude subpages in header using dp_list_pages?I just figured out how to do it. This will allow you to exclude them, while ordering them however you want if that is your preference.
Open up the “functions.php” file for the theme and replace the portion under
“# Displays a list of pages”. It is located in your theme (/wp-content/themes/{name of your theme’s folder}/functions.phpReplace:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.post_title ASC”;
With:
$querystr = “SELECT $wpdb->posts.ID, $wpdb->posts.post_title FROM $wpdb->posts WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_type = ‘page’ ORDER BY $wpdb->posts.menu_order ASC”;
It took me three days to find this, so I figure I’d share. WordPress does not have a great support system, so if you can pass this on, please do. Please copy and paste the link to this post to other inquiries.
Forum: Themes and Templates
In reply to: Gemer Theme Problems!!!!!!!!!!!! PLEASE HELP!!!!!Open up the theme folder and modify the PHP files. It’s mostly that. They’re clearly labeled with the themes and different sections. Also read up on PHP, CSS and what not, because that would help you understand how it’s structured. Most websites/blogs/cms are built on templates, so you create a main page (index) which pulls from different ares (header, body, footer, sidebar, etc…)
Forum: Plugins
In reply to: Plugin upgrades not workingI think you might have to go and change the permission of your database user. You want to select a dba (database administrator). That way, WP will be authorized to create tables, folders on the sorver, etc…
Forum: Themes and Templates
In reply to: Gemer Theme HeaderHello Everyone, I am very new with WP and have similar questions.
(Most of my questions are most likely due to a limited PHP knowledge, so please bear with me)My first one is
1) Using the same theme (Gemer), I can’t figure out how to had a menu bar without adding pages. In other words, so far, everytime I create a new page, it adds the title to my menu bar. If you look at where it says HOME, then ABOUT. Home is there by default and ABOUT is an actual page created in the CP. Is there a way to create a menu bar on top with the different choices.
2) Also, how do I make it so that my site displays pages like that:
https://www.example.com/about/our mission
https://www.example.com/contact/volunteerThis like that. I’d like to menu bar to represent different sections of the site. Similarly to have a folder structure in html.
for example
https://www.example.com/images/summer2008, https://www.example.com/images/fall2010Things of the sort.
Thank you.