Carolyn
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Navigation links resolve to the wrong pagesHi there : )
The site is built on the Twenty Thirteen, using a child theme.
I removed the main plugin for the menu – and i’m now using ordinary hyperlinks and still having the same problem – also, clicking on the links can log me out of wordpress as well as getting me to the wrong page.
I’m really stuck.
I’m using an inline-list for the site links and the last link in the list seems to be the most troublesome ?!
??
Forum: Fixing WordPress
In reply to: How to make the nav link change color on current pageHi Paul,
Sorry it’s taken so long to get back to you.
I solved this problem – I could only edit the post/page titles once the old pages were properly deleted. I went into the ‘Trash can’ and permanently deleted everything there.
Thanks for your help ??
Forum: Fixing WordPress
In reply to: How to make the nav link change color on current pageSuccess ??
Deleted the menu and re-built – it’s now behaving very nicely.
Thanks Paul!
Forum: Fixing WordPress
In reply to: How to make the nav link change color on current pageHi Paul,
Yes it strange – I noticed that suffix thing with the page as well. I did ‘trash’ the old versions of the page – is there a specific way to permanently delete a page?
I’ll go try delete the whole menu just now and see if that fixes it..
Thanks..:)
Forum: Fixing WordPress
In reply to: Getting Javascript to kick inI don’t really know what it means but now I know where to look I might have a chance of solving it.
Thanks very much Jose! You’ve been great. ??
Forum: Fixing WordPress
In reply to: Getting Javascript to kick inThanks a lot Mod ?? Sorry newbie here x
Forum: Fixing WordPress
In reply to: Getting Javascript to kick in..I’ve put the menu.js in the child theme folder ?? and added this to the functions.php
[ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]
add_action( 'wp_enqueue_scripts', 'my_child_scripts' ); function my_child_scripts(){ wp_enqueue_script( 'menu-js', get_stylesheet_directory_uri() . '/menu.js', array( 'jquery' ), '', true ); }
Forum: Fixing WordPress
In reply to: Getting Javascript to kick inHi Jose,
Thanks so much for taking a look at this..I really appreciate you help.
I just checked the menu.js file on the server and there is code in there, I’m just wondering if the file is headed up correctly – I’ve copy and pasted exactly what is there…..
[ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]
//... obj.dd.on('click', function(event){ $(this).toggleClass('active'); return false; }); //... $(function() { var dd = new DropDown( $('#dd') ); $(document).click(function() { // all dropdowns $('.wrapper-dropdown-1').removeClass('active'); }); }); function DropDown(el) { this.dd = el; this.opts = this.dd.find('ul.dropdown > li'); this.val = []; this.index = []; this.initEvents(); } DropDown.prototype = { initEvents : function() { var obj = this; obj.dd.on('click', function(event){ $(this).toggleClass('active'); event.stopPropagation(); }); obj.opts.children('label').on('click',function(event){ var opt = $(this).parent(), chbox = opt.children('input'), val = chbox.val(), idx = opt.index(); ($.inArray(val, obj.val) !== -1) ? obj.val.splice( $.inArray(val, obj.val), 1 ) : obj.val.push( val ); ($.inArray(idx, obj.index) !== -1) ? obj.index.splice( $.inArray(idx, obj.index), 1 ) : obj.index.push( idx ); }); }, getValue : function() { return this.val; }, getIndex : function() { return this.index; } }
Forum: Fixing WordPress
In reply to: Getting Javascript to kick inThe code is in a document called menu.js in the themes folder. I’m calling it in the header.php with this html……
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/inver/menu.js”></script>
Forum: Fixing WordPress
In reply to: Getting Javascript to kick inHi Jose,
It’s at https://www.inverrestaurant.co.uk/test
The javascript I’m adding is from https://tympanus.net/codrops/2012/10/04/custom-drop-down-list-styling/ – example 3.
Forum: Fixing WordPress
In reply to: my entire wordpress is been aligned to centreSite isn’t showing.
Forum: Fixing WordPress
In reply to: Put blog post elements in different orderUpdate: I’ve restored the original content.php and everything is back as it was – but still looking to re-order the blog post elements.
title
entry meta
content
image?? Cheers
Forum: Fixing WordPress
In reply to: Remove hyperlink from entry meta date on blog postsDeep joy – I’ve been struggling with that for days ?? Thanks a lot CD, hope you have a great day! ??
Forum: Fixing WordPress
In reply to: Remove hyperlink from entry meta date on blog postsBrilliant – it worked perfectly!
Thanks for all your help CD ?? Couldn’t have done it without you!
Forum: Fixing WordPress
In reply to: Remove hyperlink from entry meta date on blog postsHey CD,
I think I need to make a functions.php for my child theme first. How would I go about cutting and pasting the right function into it?