Ramesh (thecodeisclear)
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to find PHP code in custom scriptHi,
Sorry, I think I was not clear where to make the change. You need to make the change in the same file which you pasted in reply#4
What I have suggested is to modify the theme function that creates the post thumbnail to return nothing when it is called from the home page. Please don’t make any changes to any other files where the function is being called from (For e.g.
<?php echo mamontov_post_thumb($post->ID); ?>
)Cheers,
RameshForum: Fixing WordPress
In reply to: Site Title appearing on front pageHi,
The text appears just on the home page and nowhere else, do you have a custom home page? In your theme folder do you have a file called home.php? I suspect this could be due to a text wrongly pasted in a file.
If you have a text editor like notepad++, find for text “Adoptiveparents.ca” in the entire theme folder. I think you should find the issue.
Regards,
RameshForum: Fixing WordPress
In reply to: How to find PHP code in custom scriptI am not against helping fix issues/make changes in commercial products, but without access to the code, I might end up barking up the wrong tree (just like I did here).
However, the function you identified
mamontov_post_thumb
is right on spot. Here is a quick fix: Add these line at the start of the function (right after the linefunction mamontov_post_thumb...
)if (is_home() || is_front_page()) { return null; }
Basically, at the start of the function, you check if it is the home or front page and you return an empty value.
Forum: Fixing WordPress
In reply to: How to publish posts onto a homepage and a different page?I think using
tags
is the best way for you to go ahead. Can you post a link to your site (or) let me know if you have a separate home page (as per your theme)?The way I think this can be done is to clone your home page (
home.php
– ideally) into a new filetag.php
and modify the loop in a way to pick up only the particular tag (I believe this can be achieved by looking atarchive.php
)PS: A lot of this is just at the top of my mind. Haven’t really analyzed it through and through.
Forum: Fixing WordPress
In reply to: How to find PHP code in custom scriptSince it is a commercial theme, I will not be able to tell you the exact code that needs to be modified, but I can hopefully give you the right hints
- Open content.php and search for the function
get_the_post_thumbnail
- Add an if around it to check if it is the home page. Something like this
<?php if(!is_home() && !is_front_page()) get_the_post_thumbnail(); ?>
Hope this helps.
Forum: Fixing WordPress
In reply to: Lost access to Admin function, I became demoted to EditorYou will need to raise this at the wordpress.com support pages – https://en.forums.wordpress.com/
Forum: Fixing WordPress
In reply to: How to change font to sans serif for testimonial slider?Yes, that’s right.
Forum: Fixing WordPress
In reply to: How to change font to sans serif for testimonial slider?Hi,
The first font to be picked up is Cardo, which is a serif font (https://www.google.com/fonts/specimen/Cardo). You will need to make more changes to get this to work
(1) From Google fonts, find a replacement sans serif font. E.g: https://www.google.com/fonts/specimen/Roboto
(2) Include this link
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
just below
<link href='https://fonts.googleapis.com/css?family=Cardo' rel='stylesheet' type='text/css'>
(3) Update the style.css
.testimonial-item p {color: #ffffff; margin-bottom:5px; font-family: 'Roboto', sans-serif; font-size:1.3em;}
PS: I see you are already using a child theme, hence I have not suggested to create one.
Forum: Fixing WordPress
In reply to: change in wp-admin/options-general.phpHi,
Do you have access to the WP database?If yes, go to the table wp-options and change the rows
siteurl
andhome
tohttps://www_hotelspa_nl.017.bho.nu/wordpress/
More details from the codex (has some methods to update these options without using the Database)
Hope this works out.
– RameshForum: Fixing WordPress
In reply to: None of the post dates are displayingHi,
Go to theme options and in the option “Blog Category”, choose the category where all your blog posts belong to. Save options and go back to your blog. You will see the date at the bottom of each blog post that belongs to the category you need.
Alternately, if you your blog posts are in multiple categories, you will need to make the following changes in the child theme
single.php
fileFind
in_category( $blog_ID )
and comment as follows
<?php //if( in_category( $blog_ID ) ) { ?>
The corresponding end
}
should be commented as below</p> <hr class="dotted" /> <?php //} This is the commented line. Above lines for reference?>
Maybe a plugin such as this would help? It helps you setup different lists and users can pull up their lists.
Could you tell me more about what kind of user data you wish to store in the database?
Forum: Fixing WordPress
In reply to: Email not getWho is your webhost? Do you have access to the cPanel?
Forum: Fixing WordPress
In reply to: Email not getDid you check your spam folder? You will also need to check your server settings for mails. Did you speak with your webhost about this?
Forum: Fixing WordPress
In reply to: Canvas theme not resizing on square monitorsSorry, the theme you have mentioned is a paid theme and we do not have access to it. You will be able to get support from their Woothemes Helpdesk
Forum: Fixing WordPress
In reply to: Website not showing on GoogleI agree that the issue is quite interesting. Did you create a Sitemap (using a plugin/manually) for Google and submit it via GWT? That should help Google Index your site properly.
Also have a look at robots.txt to see if there are explicit instructions for Bots to keep away.
- Open content.php and search for the function