wordman1994
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove search box from header in twentyelevenAll,
I saw this thread as I was researching this very topic today and wanted to contribute the technique I used.
I’m using WP 3.5.2 using the twentyeleven theme, and no, I didn’t child theme it, as the changes I have made were minimal. I know it’s good practice to do this (and I have on all the other WP blogs I have installed) but I chose not to on this one.
At any rate, for WP 3.5.2 using twentyeleven:
[removed – do not advise people to modify theme files – these kinds of changes need to be made in a child theme]I hope this helps.
Cheers,
wordman
Forum: Themes and Templates
In reply to: Remove Home From Header Navigationlukeratto,
I can relate. I spent a lot of time sifting through theme mods, and it seems as though they make significant changes from one to the next. Another reason I just stick to modifying the same theme. Once you nail this for twentyeleven, stick with it from here on out unless you have enough time to hunt for the answers.
Best of luck!
Sincerely,
wordman
Forum: Themes and Templates
In reply to: Remove Home From Header Navigationlukeratto,
Crap. I have to admit, I only ever use and modify twentyten theme because I don’t ever do any drastic theme mods to my blogs. Hopefully someone here can help with twentyeleven.
Cheers,
wordman
Mickey,
Thanks for the links, I’ll check them out. the bummer about this is that I have to use a plugin to add a feature that, in my opinion, should be native to WordPress.
Does anyone know WHY this is not an available feature in WP? And if there’s a simple code mod I could do to not have to rely on a plugin?
Cheers,
wordman
alchymyth,
You make valid points, though it gets frustrating only getting part of an answer. I always try to include my blog version and theme for this reason.
I had searched the forums, but only until I Googled the problem, one which seems to plague many users, did I find the solution.
Still, I appreciate your helpful replies, worded in such a way as to help as opposed to leave one scratching their head.
Many sincere thanks!
Cheers,
wordman
alchymyth,
Thank you for taking the time to write a clear and helpful response.
I did finally find a way to remove the comment link in the loop.php file which worked perfectly.
Again, thank you for taking the time to help without being condescending. Your input is truly appreciated.
I do wish, however, when someone posts a line of code to remove that they would include the filename. I realize there is a small number of files in a theme, but some of them are large and quite honestly, I hate the idea of wasting that much of my time. When I found the solution to my problem, moderator Samuel B provided the code to be removed and the file from which to remove it. It took him no extra time to do so and it has ended a months-long irritating problem for me (and apparently many others) in a matter of minutes.
Again, thank you for your post.
Sincerely,
wordman
Given that this particular topic generates so many posts in the WP forums (Google it…you’ll be amazed) it’s a shame that no one here has been able to adequately show any of us uncultured newbies how to do it.
Well, actually, someone HAS. After Googling this topic, I found a post here on the WP forums:
Read Samual B’s post, and remove EVERY instance of the code he shows from the loop.php file. I believe there were three of them in mine.
After this modification (adding the modified loop.php to my child theme) I now HAVE LO LEAVE A COMMENT link anywhere!!!
THIS WORKS!
Thanks go to WP forum moderator Samuel B for posting this info! I wish I could have found it 9 months ago when it was posted. THANK YOU!!! ??
Cheers,
wordman
esmi,
We appreciate your reply, but you all who are in the know have a propensity for providing vague answers. I HAVE disabled the comments in the Settings->Discussions tab. Still the link is there.
I’m currently looking at the Pages tab and am finding no link to disable comments by page.
I realize some people like getting comments on their blogs, but for those of us who do not, it is a bloody nightmare. Why is it no one can provide decisive instructions (including specific filenames) to rid this feature of WP from our blogs completely?
Cheers,
wordman
Leslie,
This is, unfortunately, the one area of WP support that remains the most unclear. I have followed suggestion after suggestion to no avail. I’m not knocking anyone’s efforts to help, but after repeated queries, I am still stuck with comments as well. Let’s hope we can stir up some answers that will help us in the right direction. I have two blogs set up that dearly need the comment feature disabled.
Cheers,
wordman
dragonsjaw,
You mentioned:
“You could also remove:
‘<?php comments_template( ”, true ); ?>’ from the loop,
faster and easier. “Remove this from what file?
Thanks!
Cheers,
wordman
jkovis,
My theme is a modified twentyten theme. It does have a comments.php file, and removing the code you suggested still leaves the pages with the “Leave a comment’ link, though when clicked it takes you right back to the article viewed.
I also created an empty comments.php file and nothing changed. The ‘Leave a comment’ link was still there.
Thanks!
Cheers,
wordman
jkovis,
Thanks for the follow up. I HAVE done that, I did it when I first set up the blog. But still, the ‘Leave a comment’ link is still present. I want to remove it permanently from my child theme, again, based on twentyten.
Any thoughts?
Thanks!
wordman
jkovis,
I’m looking through that file now. I’m assuming where I see this int he code:
<?php checked(‘1’, …
for example, I would change the 1 to a 0?
I have looked through the Discussions page in the admin control panel but I see no main switch allowing me to turn off comments/discussions, so I’m assuming it’s a matter of altering the code int he file you suggested.
Specifically, WHAT would I set to zero?
Many thanks!
Sincerely,
wordman
Forum: Themes and Templates
In reply to: Remove Home From Header Navigationseandavidson,
I don’t know if you ever got this figured out, but I just did.
Deactivate with a remark or remove this line from header.php:
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
Just worked for me perfectly.
Cheers,
wordman
Forum: Themes and Templates
In reply to: Adding my own navbar beneath the header imageI just figured it out, thank you for the help!!!
Sincerely,
wordman