Wooninjas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding a new html elemenHi,
Yes you can add html elements to any template files to your theme, but only if this your custom theme.
By looking at the code, it looks like you are using WordPress default
twentysixteen
theme so it’s recommended to create Child Theme and override its templates there.Forum: Fixing WordPress
In reply to: wp_query -> category_nameI tested on WordPress 4.4 and its working fine there.
Forum: Themes and Templates
In reply to: intersecting html linesYou’re Welcome. Always here to help.
Forum: Themes and Templates
In reply to: intersecting html linesHi,
You are missing
"
(double quotes) onclass
attribute of both elementsHere:
class="alignleft
Should be
class="alignleft"
Forum: Fixing WordPress
In reply to: wp_query -> category_nameI’m not sure why this is happening though, I don’t have a complete view how you are doing it. But may I know why you are still want to use
slug
ifID
is working for you?Forum: Fixing WordPress
In reply to: wp_query -> category_namecategory_name
accepts category slug, make sure you are naming your slug correctly.Forum: Fixing WordPress
In reply to: Website hacked. How did hacker change general settings?@songdogtech yes you are right. If the shared hosting is from a reliable hosting company then they would have employed all the methods to keep It’s users safe.
But you can not rely on every company which provides shared hosting. You need to be cautious. That’s what I meant.
Forgot to mention
unreliable
withshared hosting
. Thanks for pointing out.Forum: Fixing WordPress
In reply to: WP-ADMINYou need to reset the password from the database now, as you cannot access the admin interface.
Which hosting service are you using.?
Can you access the cpanel provided by your hosting.?Forum: Fixing WordPress
In reply to: Website hacked. How did hacker change general settings?"I am using shared hosting."
This is also important after what @kgagne already mentioned.
Shared hosting can be risky. You should better avoid it.
This is a good article explaining why.
[moderated; keep support on this site]
Also check this
https://codex.www.ads-software.com/FAQ_My_site_was_hacked
WordPress Codex says :
“The hack may have affected more than just your site, especially if you are using shared hosting.”
So If any other site on your shared hosting server is hacked than you are at risk too.
Forum: Fixing WordPress
In reply to: WP-ADMINDo you have the database access. ? If so you can reset It using the phpmyadmin.
Forum: Fixing WordPress
In reply to: WP-ADMINI don’t know of anyway to recover the old passwords. However you can reset the passwords. Are you able to login with the administrator account. ?
Forum: Fixing WordPress
In reply to: 500 server errorYou are missing the core files.
require(/home/northwes/public_html/prankshark.com/wp-includes/plugin.php): failed to open stream: No such file or directory
Did you upload the whole
wp-includes
folder from standard WordPress installation. ?Also check the permission of your
wp-includes
folder. The folder permission shall be 755Also make sure that you upload from the WordPress installation matching the current WordPress version of your site.
Forum: Fixing WordPress
In reply to: Issues with wordpress siteThere must be a JavaScript error. Check the console log and paste the errors here.
https://developers.google.com/web/tools/chrome-devtools/debug/console/console-ui?hl=en
Forum: Fixing WordPress
In reply to: Content and title won't show on certain page in WordPressTry this. You can set the number of posts you want to display
withshowposts
.<?php /* Template Name: My Awesome Custom Page */ get_header(); query_posts('showposts=2'); if (have_posts()): while (have_posts()): the_post(); the_title(); the_content(); endwhile; else: echo '<p>no posts were found</p>'; endif; get_footer();
Forum: Fixing WordPress
In reply to: 500 server errorThe error displays on your site now.
Warning: require(/home/northwes/public_html/prankshark.com/wp-includes/functions.php): failed to open stream: No such file or directory in /home/northwes/public_html/prankshark.com/wp-settings.php on line 72
You are missing some files in your
wp-includes
folder. Better replace them with the default wordpresswp-includes
folder.