mgorman03
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Simple Galleries] Cannot add media anymoreHas anyone found a solution for this … i have deactivated everything and still no luck. the delete button does work though …
Forum: Plugins
In reply to: [Kw Modern Advertise] [Plugin: Kw Modern Advertise] No appearing on home pageForum: Fixing WordPress
In reply to: Track Links with Google AnalyticsThis is what the link is suppose to look like. I edited some of it to get it to appear as text.
< a href =” httd://store.firstfairway.com/golf-clubs-c5.aspx” onclick=”_gaq.push([‘_link’, this.href]); return false;”>CLUBS < / a>
Forum: Fixing WordPress
In reply to: 301 Redirects via .htaccess fileThanks Jan, I tried moving up the files and it still does not make a difference won the /index.php?some-paramater links.
The urls with a more defined link shopping.php all are working great.
perhaps I will need to do wildcard redirect ?
Mark
Forum: Fixing WordPress
In reply to: Pages not displayingTried that and no luck (actually tried that first as well).
I also just tried the url with the word “classes” removed … as it is the master / group page or what ever you want to call it, and it comes up with a blog post section.
https://wrsoc.com/n/cooking-techniques-2/
I am baffled.
Forum: Fixing WordPress
In reply to: Pages not displayingClasses – Cooking Techniques – 1, 2 and 3
Forum: Fixing WordPress
In reply to: Pages not displayingI set up the navigation through the menu builder, and just deleted three links and re-added them and nothing. Same issue.
Visibility is set to visible, and it is published. Even if i edit the page and click preview it does not show up.
Forum: Plugins
In reply to: Plugin for managing classesThanks @zoonini that looks like it may do the trick as soon as I figure out the configuration.
Forum: Fixing WordPress
In reply to: Navigation Not UpdatingFound it ….
I see where it is added the categories and the pages, but I have no idea with this setup how to order them, or exclude any.
Thanks Guys !!!
# Displays a list of pages
function dp_list_pages() {
global $wpdb;
$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”;
$pageposts = $wpdb->get_results($querystr, OBJECT);
if ($pageposts) {
foreach ($pageposts as $post) {
?>- ID); ?>”><?php echo $post->post_title; ?>
<?php
}
}
}# Displays a list of categories
function dp_list_categories($num=0, $exclude=”) {
if (strlen($exclude)>0) $exclude = ‘&exclude=’ . $exclude;
$categories = get_categories(‘hide_empty=1’.$exclude);
$first = true; $count = 0;
foreach ($categories as $category) {
if ($num>0) { $count++; if ($count>$num) break; } // limit
if ($category->parent<1) {
if ($first) { $first = false; $f = ‘ class=”f”‘; } else { $f = ”; }
?><li<?php echo $f; ?>>
cat_ID); ?>”><?php echo $category->name ?><?php echo $raquo; ?>
<?php
}
}
}Forum: Fixing WordPress
In reply to: Navigation Not UpdatingThanks ESMI … sorry if I sound like a novice here but i am ??
Here is the code that was in there, and that was the name of my navigation:
add_action( ‘init’, ‘register_my_menus’ );
function register_my_menus() {
register_nav_menus(
array(
‘menu-1’ => __( ‘Navigation’ )
)
);
}?>
Forum: Fixing WordPress
In reply to: Navigation Not UpdatingI realized that my theme uses the a default layout for the pages. Code is below.
<!– begin categories –>
<ul class=”categories”>
<?php wp_list_categories(‘title_li=’); ?>
<?php dp_list_pages(); ?><!– end categories –>
So from the looks of this, it pulls the default links in a certain order. I created a navigation but it does not appear to be called.
Any thoughts on how to call this. I guess i could do the old fashion hard code ??