• Hello,

    I use wordpress as a CMS and so, I have created a page called “Blog” to hold my posts and configured wordpress to do so.

    So, nice, in my menu I have the “Blog” entry. When I click on it I have my posts listed but no page title! If I want a page title, I need to create a home.php template and add ‘<h2>Blog</h2>’. Well it is ok. But what happens if I change the title of my page holding my blog posts? Well I need to edit manually the template file.

    The project I am working on is for a customer that knows nothing about HTML, so this is not a solution.

    I think that this blog page gets the ability to hold the posts by a rewrite rule. So, is it possible to get the id of the page originally requested? I will so be able to get its page title.

    Regards.

  • The topic ‘Get real page instance (redirect_from ?)’ is closed to new replies.