magicalwonders
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I add a non-post paragraph of text at top of Post page?Thanks. I’ll remember about the theme change issue. ??
I’ll mark this thread as resolved now.
Forum: Fixing WordPress
In reply to: How do I add a non-post paragraph of text at top of Post page?Ok. I’ve got this working locally now, but by a slightly different method.
I’ve copied the index.php file into the child theme and added my block of text above the code <?php if ( have_posts() ) : ?>
This seems to work really well, so I don’t think I need to edit the functions file now. ??
Forum: Fixing WordPress
In reply to: How do I add a non-post paragraph of text at top of Post page?Ok that’s great, thank you. I already have a child theme created, so i’m half way there!
I’ll study your references over the weekend and hopefully get this working. Thanks again!
Forum: Fixing WordPress
In reply to: How do I add a non-post paragraph of text at top of Post page?Hello Radices,
Thanks for the codex link. The page is about three miles long, so not sure which part will help me. I’m not really familiar with filters, or where they are used.
The url of the page is here – https://internetsquad.co.uk/magic-stuff/
I’m working on the site locally using WAMP and the url above is only a test environment on a live server. The site will eventually go live on a different domain. ??Forum: Plugins
In reply to: [WooCommerce] Warning on shop page – can anyone help?I’ve managed to find some alternative code that removes the page titles in WooCommerce, but doesn’t result in any warning messages. So here it is for the benefit of anyone else with the same issue –
add_filter( 'woocommerce_page_title', 'woo_shop_page_title'); function woo_shop_page_title( $page_title ) { if( 'Shop' == $page_title) { return ""; } }
Forum: Plugins
In reply to: [WooCommerce] Warning on shop page – can anyone help?I have the exact same issue. The code
add_filter('woocommerce_show_page_title',false);
which I’ve also included in my functions.php in the child theme is causing the same warning message!Did you find an alternative way to stop the page titles showing on WooCommerce pages?
Forum: Plugins
In reply to: [WooCommerce] Edit of archive-product file to remove page titles not workingI think I’ve solved the problem!
I still don’t know why changes to archive-product.php have no affect, but I’ve found an alternative.
I’ve created a new file in my child theme functions.php and have included this code –
<?php //Hide Page Title add_filter('woocommerce_show_page_title',false); /* <?php } ?>
Sanity restored! ??
Forum: Themes and Templates
In reply to: Custom template for blog page and posts issueAfter battling with this for days, I’ve come up with what is a very simple solution. At least for what I want to achieve.
I’ve edited the theme so that the index file has a normal header. Then created a template page with a slider effect.. In WP I’ve assigned the Template page to my Home page.
Now the slider shows only on the home page, with the remaining pages displaying the header. The blog and post pages use the code for the index page, so only the header appears there as well. You can see the result at this test url for a limited time –
This would be handy information for anyone else trying to do the same thing. I can’t see this way of doing it mentioned in the Codex? If it is, then it’s been made much more complicated, and I’ve missed it!
In plain English it seems to be a case of designing the Index page the way you want the blog and post pages to look. Then create template pages which can be assigned to home and other pages to change how they look. ??
Forum: Fixing WordPress
In reply to: Automatic update issueOK thanks. It just seems odd to me that the site that upgraded to 4.0.3 didn’t just upgrade to 4.1.3 like the other one did!
Thanks for the links. I’ll take a look at the plugin. ??
Forum: Fixing WordPress
In reply to: Missing upgrade button in 3.3.1 and RSS error messageAnybody got any clues as to what the cause of this problem is?
I’m not having much success in solving this one.
Forum: Fixing WordPress
In reply to: New install getting Failure to update messageO.K. I’ve managed to resolve this now, by deleting the maintenance file. Does WordPress recreate this file when needed?
Forum: Fixing WordPress
In reply to: Any recommendations on how to protect wp-login.php?Thanks for the resources guys. It looks like I’ve got lots of reading to do. ??
Forum: Fixing WordPress
In reply to: Any recommendations on how to protect wp-login.php?Thnaks for the feedback. I was hoping for something that would make life awkward for hackers, but not for me.
Changing permissions each time I login would be very inconvenient. But .htaccess might offer a solution.
Forum: Fixing WordPress
In reply to: htaccess Protected Directory, and 404 ErrorNow resolved by removing the error document handling from the WordPress block and including “ErrorDocument 401 default” above the block. (Without the quotes)
Forum: Themes and Templates
In reply to: Faux Columns not working for meI’ve got this working now! ??