Josh
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Edit] Remove unwanted fonts from dropdown listAnd you have the child theme activated on your website?
Go to appearance -> themes.
Is the child theme the one that shows as active?
Forum: Fixing WordPress
In reply to: PermalinksGo to your admin panel.
Click on “Permalinks”.Take note of your current permalink structure.
Now, change it to something different, and save.
Then, change it back to what it was originally, and save again.Check your breadcrumbs now.
Forum: Fixing WordPress
In reply to: Javascript in script tags stopped workingYou bet.
Glad you got it working properly 🙂Forum: Plugins
In reply to: [WP Edit] Remove unwanted fonts from dropdown listDid you remove the fonts from the code as I instructed above?
I didn’t know which ones you wanted to remove… so I made the entire list of default fonts.
You need to remove the ones from the code that you don’t want showing in the dropdown list.
Tell you what… which fonts are you wanting to remove?
Forum: Plugins
In reply to: [WP Edit] Remove unwanted fonts from dropdown listIf you don’t already have the opening
<?phptag.. you’ll want to add that as well.If you have nothing in your functions.php file… then it should look like this:
<?php function remove_unwanted_fonts_from_dropdown($init) { // First, we must define a list of the default fonts // This is where you want to remove the fonts you don't want // Make sure to delete everything between the semi-colons $default_fonts = isset($init['font_formats']) ? $init['font_formats'] : 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats'; // Now we add our new fonts back to the $init variable $init['font_formats'] = $default_fonts ; // Be sure to return the $init variable return $init; } add_filter('tiny_mce_before_init', 'remove_unwanted_fonts_from_dropdown');Note the opening
<?phptag.Forum: Fixing WordPress
In reply to: Newbie too WordPress needs to move from old to new laptopLol… You’re very welcome.
Thank you for coming back and sharing your honesty 🙂
Trust me… I miss things right under my nose every day!Please have a wonderful week.
Forum: Fixing WordPress
In reply to: Javascript in script tags stopped workingPost them on pastebin.
I’ll take a quick look at the code.
Forum: Fixing WordPress
In reply to: Update Failed: Could not create directoryLol.. glad to help 🙂
Thanks for marking the topic as resolved.
Please have a great week.Forum: Fixing WordPress
In reply to: Javascript in script tags stopped workingUnfortunately; I can’t say for sure.
When WordPress updates a major version (like 4.3), it typically includes a database upgrade as well. If you downgrade after a database has been upgraded… it could cause potential risks.
It is just a much better practice to stay updated on any plugins and themes you use; as well we the core WordPress.
I would take a database backup; and a file backup; just to be safe 🙂
Forum: Fixing WordPress
In reply to: Update Failed: Could not create directoryIs it possible you had your FTP or cPanel open (where the file directories exist)?
I know in my local install; if I have the folder to “wp-content/plugins” open while trying to update a plugin… it will fail the same way you mentioned above.
Forum: Fixing WordPress
In reply to: Newbie too WordPress needs to move from old to new laptopCan you show us a screenshot of what you are seeing?
You can’t upload screenshots here; but you can link to them from any server.
Forum: Fixing WordPress
In reply to: Custom Post Types disappearing after upgrade to 4.3I don’ think you want to use
query_posts().I think it’s better to use
new WP_Query().Check out this Stack Exchange Answer.
I think when you use
query_posts()along with the global$wp_query… you change something that should be reset instead.You can tell I’m not positive. But I’m fairly certain I’m setting you on the right track.
Perhaps someone with more CPT experience can chime in…
Forum: Fixing WordPress
In reply to: Where is my jQuery loaded?You will want to use a child theme; along with a custom function.
Here is the codex page on enqueue scripts.
The custom function will dequeue the jquery included with WordPress; and allow you to enqueue your own.
Here is a link with the function; and also a big reason why this is NOT considered a good idea 😉 (read the comments as well)
https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/
Forum: Fixing WordPress
In reply to: Newbie too WordPress needs to move from old to new laptopHi,
I’m not sure I follow.
The WordPress installation shouldn’t change based on what computer you are using to log into the system.
Do you also receive the upgrade notice when logging in from your (older) laptop?
Forum: Fixing WordPress
In reply to: Javascript in script tags stopped workingIt’s hard to say exactly.
1) I would update WordPress to the latest version.
2) I would ensure all plugins and theme are on latest versions.
3) Perhaps post the code you are using for the shortcodes (using pastebin), so we can see the code. (Save your code at pastebin; then paste the link back here. We can click that link and see your code.)Other than that… I can’t imagine why it is not working. I use custom shortcodes on my sites (all running latest WordPress version), and they still function properly.