Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Forum: Hacks
    In reply to: Page Protection Password

    Thanks Ricke 59! I guess it didn’t occur to me that it was in seconds. I’m currently in the process of updating the outdated FT-Password-Protect-Child-Pages plugin with custom post type support and going to release it under a new name (with credit to the original author of course). I might just have to roll this script into it since the two seem to go hand in hand. Thanks again for your help with the timing!

    Forum: Hacks
    In reply to: Page Protection Password

    I’m looking to have the session expire after 15 minutes rather than 0 seconds. I am using another function adapted from the FT-Password-Protect-Child-Pages that allows me to move from a parent page to the child page without re-entering the password but since it times out after you leave the parent page it is not going to work in my situation. Setting the 0 value in the script listed above to 15 didn’t work. Does anyone have thoughts on a solution? Thanks in advance!

    You rock man! Thanks so much for making that update. Just gave you a five star review. I feel like sometimes plugin developers try and cram too much into a simple function making for bloated solutions. Your plugin is strait-forward and simple. The way it should be… well done!

    As far as I can tell there is no easy way to target the headers/titles for post and pages separately on a global basis using a CSS only solution. You can only do it for individual post IDs but as you mentioned earlier that really isn’t a feasible option for what you are trying to achieve. Wish I had a better answer for you.

    Take a look at the original Twenty Ten page.php file and you will be able to figure out what has been added to your theme and what was original. There is not much in the original so I am assuming that your theme has been customized quite a bit.

    That should keep titles on your blog post pages but remove them from all the static pages. Not sure what this will do as far as SEO goes by completely removing the title tag but nonetheless it is a method worth trying.

    Sorry forgot to end my code tag:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Give this a try. You said you were working off of a modified twenty ten theme. Go into your page.php and replace everything that is in there with the following code.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I very much agree with the “iamfriendly” I have personally added Conditional Widgets to my standard set of plugins that I install on every WordPress site I design. It is a phenomenal plugin. It’s incredibly easy to use and remarkably flexible. The way you thought out the admin on the widget just must makes logical sense.

    I too would love to see custom post type support. I have been playing around with several premium themes all of which have custom post type sections built in. Adding that feature would make this plugin a no-brainer for WordPress developers looking for complete customization solution.

    Thank you very much for a fantastic plugin!

    Not sure if the comment above was directed at me. There are many methods to “delete a post title from a static page” that are discussed here. The method I mentioned above assumes you are trying to visually hide the title on a single static page rather than the entire site. The code I provided was was intended for use in your style sheet only! Changes to the CSS file impact the front end look and feel but do not alter any back end functionality. Therefore, they can easily be reversed by removing the style. Changes to the functions.php file can indeed wreak havoc if not done properly. If you are trying to hide the title globally you may be able to achieve this by altering the code in your single.php file but the CSS method described above is not how this is generally handled and the solution may vary depending on how your theme was coded.

    Yes, it will. Maybe I misunderstood the intent of this topic. The post title may have thrown me. I was under the impression that we were looking for a way to strip the title visually from a static page but not from posts. The method I discussed above will do just that. However, it will remain in the source code for the page which is good for SEO so long as it is titled something relevant to the pages content. Sorry if I mislead you. Hopefully the information is useful to someone out there.

    Omitting titles on certain pages like the homepage can be problematic from a search engine standpoint if you are simply removing it in the post_title.php file. This is because the title tag is an important component of that SEO equation.

    I would recommend that to hide titles on specific pages/posts using the Post ID and a bit of CSS to make it dissappear. For example if you had a post ID of “5” for your homepage you could include a simple line of code in your style sheet such as:

    .post-5 h1 {display:none !important;}

    Doing this will essentially make that header with the assigned style h1 invisible on only the page with the post ID of “5”. The only variable here would be the post ID number. So if you had a post ID of “15” that would be the ID you would want to include in the new CSS Style. The reason I included !important in the string is so that the new CSS code is forced to override any other code in your stylesheet.

    Just a note: I have used this with great success on several premium themes and theme frameworks but have not specifically tried this method with the TwentyTen theme.

    I use this script on one of my blogs to handle category filtering. It pulls the category information dynamically so you don’t have to add category values to the form every time you create one.

    <form role="search" method="get" id="searchform" action="<?php bloginfo('siteurl'); ?>">
      <div>
        <label class="screen-reader-text" for="s">Search for:</label>
        <input type="text" value="" name="s" id="s" />
        in <?php wp_dropdown_categories( 'show_option_all=All Categories' ); ?>
        <input type="submit" id="searchsubmit" value="Search" />
      </div>
    </form>

    As far as selecting multiple specific categories it should be easy enough to create a form with radio buttons or check boxes in place of the drop down. I am not entirely sure how this would be done dynamically to generate these as the category list grows but it can definitely be hard coded into the form.

    Nine times out of ten speed issues with a self-hosted WordPress blog are due to plugins however ocassionally the theme itself is the issue. Test this by swiching your theme to the default theme at a time when you expect the least traffic. Reset your browsers cache between steps to ensure accurate results. If it is still loading slow next disable your plugins and reactivate them one at a time until you pinpoint the problem. If you are still getting a slowdown after switching themes to the default and disabling the plugins I would contact your hosting provider and have them take a look at the connection.

    Thanks bizmix!

    I deactivated HeadSpace 2 and sure enough all the AJAX functionality was restored. That is the first time that I have had a plugin mess with the back-end interface. Usually it just screws up the theme. I will try and reach out the the developer of that plugin to make them aware of the issue.

    Thanks again!

Viewing 15 replies - 1 through 15 (of 15 total)