ovenmithead
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problems with root-directoryI found the issue. My theme apparently over-writes the wordpress homepage and I had not been looking in my theme options.
Forum: Fixing WordPress
In reply to: Problems with root-directoryI’m seeing something in my link-template.php file that seems to be what I’m looking for to overwrite, but I’m not sure how to syntax it.
/** * Retrieve the page permalink. * * Ignores page_on_front. Internal use only. * * @since 2.1.0 * @access private * * @param int|object $post Optional. Post ID or object. * @param bool $leavename Optional. Leave name. * @param bool $sample Optional. Sample permalink. * @return string The page permalink. */ function _get_page_link( $post = false, $leavename = false, $sample = false ) { global $wp_rewrite; $post = get_post( $post ); $draft_or_pending = in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft' ) ); $link = $wp_rewrite->get_page_permastruct(); if ( !empty($link) && ( ( isset($post->post_status) && !$draft_or_pending ) || $sample ) ) { if ( ! $leavename ) { $link = str_replace('%pagename%', get_page_uri( $post ), $link); } $link = home_url($link); $link = user_trailingslashit($link, 'page'); } else { $link = home_url( '?page_id=' . $post->ID ); } /** * Filter the permalink for a non-page_on_front page. * * @since 2.1.0 * * @param string $link The page's permalink. * @param int $post_id The ID of the page. */ return apply_filters( '_get_page_link', $link, $post->ID ); }
the comment starts on line 338
Forum: Fixing WordPress
In reply to: Problems with root-directoryIt acts like it updates the page, and when I come back, the pages are still stored, but its like the file itself does nothing to the rest of the site.
Forum: Fixing WordPress
In reply to: Problems with root-directoryIs there any way I can maybe over-write the file so that it will have the pages that I want? I don’t plan on changing, just when I pulled the XML file over, rather than over-writing existing pages (home, etc.) it just created new pages, so I ended up deleting the old home page and blog pages, and now I’m having this problem.
Forum: Fixing WordPress
In reply to: Problems with root-directoryIts seeming to me like the options-reading.php file is not updating properly
Forum: Fixing WordPress
In reply to: Problems with root-directoryYes. Updated wordpress to most recent version, uploaded XML file, pulled over wp-content folder for theme changes, etc.
Forum: Fixing WordPress
In reply to: slugs not workingThat worked. Thank you! ??