Ryan Yu
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to hide a post from the main page and category using a tagUse this
tag__not_in=4
so it may looks something like
query_posts( 'tag__not_in=4' );
Forum: Fixing WordPress
In reply to: How to hide a post from the main page and category using a tagCheck out this example.
https://wp-snippets.com/exclude-posts-with-certain-tag-from-loop/
Forum: Fixing WordPress
In reply to: basic sitewide changesHi Ackerz,
Can you post the code for one of the services page (using pastebin.com)?
I will take a look at the code and send you the updated version for your requirement.Forum: Fixing WordPress
In reply to: Exclude Categories from HomepageHi douglhanna,
To exclude the category, see the example below.
$query = new WP_Query( 'cat=-12,-34,-56' );
and you can find more details here.
https://codex.www.ads-software.com/Class_Reference/WP_QuerySo for your code, it may look something like:
$new_query = new WP_Query( 'posts_per_page='.$hcount.'&cat=-12' );
Let me know how it goes ??
Forum: Fixing WordPress
In reply to: How to add a email contact form?Please check this instruction.
https://contactform7.com/getting-started-with-contact-form-7/Forum: Fixing WordPress
In reply to: How to add a email contact form?Hi paylesspcptc,
Try this plugin
https://www.ads-software.com/extend/plugins/contact-form-7/If you are having issues with using this plugin, please let me know.
Forum: Fixing WordPress
In reply to: add phone numner to top of pagesYou can make it bigger in html however I wouldn’t recommend it because the image quality will be distorted.
I would upload the logo in bigger size.
Forum: Fixing WordPress
In reply to: add phone numner to top of pagesYe sure, add
font-weight: bold;
Forum: Fixing WordPress
In reply to: add phone numner to top of pagesAdd the font-size property to the .phone selector. So it would look something like:
.phone { margin-top:15px; float:right; font-size:2em; }
Forum: Fixing WordPress
In reply to: Pages return 404Hi manngo,
After deactivating the plugins, have you re-saved the permalink? If not, try it.
Also did you use “register_taxonomy” function? If so, check if the slug value is empty. I sometimes found people are missing it out and having the 404 errors.
Forum: Fixing WordPress
In reply to: add phone numner to top of pagesHi cruiser76,
Yes it does seem so.
Forum: Fixing WordPress
In reply to: add phone numner to top of pagesHi cruiser76,
To add the phone number, you need to add some code. If you are not sure how to add the code below, please check this article.
https://codex.www.ads-software.com/Editing_FilesOpen header.php and find this line.
<div class="container" id="hgroup-wrap">
Add this line under it.
<div class="phone">Phone number goes here</div>
So it will look something like:
<div class=”container” id=”hgroup-wrap”>
<div class=”phone”>Phone number goes here</div>Open style.css and add the code below.
.phone { margin-top:15px; float:right; }
Let me know how it goes.
Forum: Fixing WordPress
In reply to: Deleting a redirect urlHi hawt,
It seems “lindastein.com/blog/” is not currently redirecting to “haveartwilltravel.org” but the menus are pointing to haveartwilltravel.org.
I am not 100% sure how initially you have built “lindastein.com/blog/” and ended up redirecting the menus to another website, but as those are separate websites, I don’t think there would be any issue if you remove lindastein.com/blog.
However again make sure if there is any database connection (most likely not, but just in case) or any other possible interaction between the two websites.
If you are very concerned about remove it, probably do the 301 redirect.
Hope it helps.
Forum: Fixing WordPress
In reply to: Theme activated but does not display on the websiteHi atat3856,
It seems there is index.php is missing. Try to re-download the WordPress files and upload only the index.php. If it still doesn’t help, you will need to re-install WordPress.
Let me know how it goes.
Forum: Fixing WordPress
In reply to: what install issue?Hi kriszti67,
Have you tried deactivating plugins one by one and see if there is any plugin causing the issue?