becskr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp_redirect after insert post with shortcodeHi there,
After the wp_insert post add this
return ‘<script type=”text/javascript”>
<!–
window.location = “https://example.com/blahblahblah”
//–>
</script>’;The problem with this is it’s a bit clunky – it will still half load the form submission page and then redirect after. But that is fine for what I needed.
Forum: Fixing WordPress
In reply to: wp_redirect after insert post with shortcodeThanks, after some tinkering I got it to work. Something was wrong previously but now it’s fine!
Forum: Fixing WordPress
In reply to: Site Loading Slow – How Do I Speed It Up?Caching won’t slow it down but it’s up to you .
It may be your random content script generating the slowness? It’s not that slow for me to be honest.
Yes the social media sidebar – try AddThis and select the social media buttons you want from there. It loads it in an iframe so doesn’t slow the rest of the page down.
Forum: Fixing WordPress
In reply to: Site Loading Slow – How Do I Speed It Up?Addthis probably has a solution for the social media stuff. I use it on our site at work because it doesn’t stop the page load time slowing down
Forum: Fixing WordPress
In reply to: Site Loading Slow – How Do I Speed It Up?Make sure all that social media stuff loads last, it’s a bitch for slowing things down. Why do you need it on the homepage anyway?
By the way in Firefox it’s not in a straight line…
If that content’s going to change frequently then you shouldn’t have a cache.Forum: Fixing WordPress
In reply to: Changing the width of pagesIn your child theme style.css, add
.singular #content, .left-sidebar.singular #content {
margin: 0 3.6%;}Play with that percentage (leave the 0 before it, that refers to your top and bottom margins, just edit the second value) until your happy, it’s a responsive design (scales for different screen resolutions, so you’ll need to check on a few different devices to see that you’re happy.
Forum: Fixing WordPress
In reply to: Site Loading Slow – How Do I Speed It Up?Setting things like your logo and all those images on the homepage as a background image will reduce your loading times – you don’t seem to have you logo wrapped in an h1 tag either for SEO either.
Forum: Fixing WordPress
In reply to: Admin widgets page no longer workingI completely wrecked my site for about an hour but overwrote all my basic wordpress files with the latest version…it make no difference. Then I disabled all the plugins as esmi said and it worked. I slowly added them all back one by one and it worked. After enabling them all it worked! How weird but who cares, it’s fixed!
Forum: Fixing WordPress
In reply to: Admin widgets page no longer workingI am using firefox and I tried in IE and it doesn’t work there either!
Forum: Fixing WordPress
In reply to: Admin widgets page no longer workingI should add I’ve tried reinstalling the latest version update and copied in the latest version of wp-admin but it’s made no difference
Forum: Fixing WordPress
In reply to: wp_nav_menu: List only 2nd level (separate submenu)?Of course, the solution would be to hide that child category if you didn’t want it to show, meaning that the current-menu-parent class would still show on the parent.
Forum: Fixing WordPress
In reply to: wp_nav_menu: List only 2nd level (separate submenu)?OK cool thanks! I have got it to work, but it means having to put the parent category as a sub menu category as well. If you take it away, the parent category no longer has current-menu-parent class so doesn’t add the additional
<li>
Forum: Fixing WordPress
In reply to: wp_nav_menu: List only 2nd level (separate submenu)?I can’t show you as I’m just running it on localhost – I’ve realised what the problem is but not how to resolve it. The issue’s with the top level menu not having a class of “current-menu-parent” on the current category.
Could you give me your function for your primary walker please? That’d be really helpful!
Thanks ??
Forum: Fixing WordPress
In reply to: wp_nav_menu: List only 2nd level (separate submenu)?Hi Squarecandy, tried your updated code but not seeing the correction for the missing
<li>
tag. Wouldn’t it also be more correct to remove the additional<ul>
rather than adding an<li>
to contain it?