WebTechGlobal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display Sub-categories apart from their parentsWish I could but I’m super busy, I’m a developer myself. Deep in a hired project right now. Try with me again in a few days if your still stuck, can even get me on the WebTechGlobal site
Someone has to have done this before. Keep Googling. As I said the get_categories function just might allow it already. It allows you to state what level of categories you want to retrieve, but not sure if it returns the first level always or if you can exclude the first level (parents).
Forum: Fixing WordPress
In reply to: Remove buttons when editing HTML code on post/pageAnd what happens when you use these shortcodes?
They look to me like something to do with your theme. Did you possibly change theme recently?
Those buttons could be handy, the <!–more–> creates a line under content which can look good on a long page.
Forum: Fixing WordPress
In reply to: Remove buttons when editing HTML code on post/pageWhat do the buttons do for you in the html window? That might help determine what is applying them.
Forum: Fixing WordPress
In reply to: Remove buttons when editing HTML code on post/pageShow Hide Kitchen Sink
That is what the button is called but sorry that does not effect html view.
Forum: Fixing WordPress
In reply to: Remove buttons when editing HTML code on post/pageIf you remove plugins, their effect is usually removed also.
You may have clicked on the single button that displays extra buttons. Try click on all buttons until maybe your extra ones are hidden. It is designed to look like lots of little buttons on the icon.
Forum: Fixing WordPress
In reply to: Display Sub-categories apart from their parentsFirst approach that came to my mind was looping through all categories and having a condition that excludes parent categories from being displayed.
Could easily query the term and taxonomy table to see if each category is a parent or not and display accordingly.
Lets not rule out get_categories though, although that only looks like you can get child categories for a single giving parent category.
Forum: Fixing WordPress
In reply to: How can I not let authors see emails and ip'sI think you can remove all of this…
echo '<a href="edit-comments.php?s='; comment_author_IP(); echo '&mode=detail'; if ( 'spam' == $comment_status ) echo '&comment_status=spam'; echo '">'; comment_author_IP(); echo '</a>';For all users.
Or you will need to add a function to check the current logged in users permissions.
Forum: Fixing WordPress
In reply to: How can I not let authors see emails and ip'sLine 467 in class-wp-comments-list-table.php
Found it.
This is the block you should look at…
if ( $this->user_can ) { if ( !empty( $comment->comment_author_email ) ) { comment_author_email_link(); echo '<br />'; } echo '<a href="edit-comments.php?s='; comment_author_IP(); echo '&mode=detail'; if ( 'spam' == $comment_status ) echo '&comment_status=spam'; echo '">'; comment_author_IP(); echo '</a>'; }Forum: Fixing WordPress
In reply to: How can I not let authors see emails and ip'sI’ve spent half an hour trying to locate where this is printed from.
Can’t locate it but I’m guess it is the only way for something like this. Remove it from the code, issue there is, it will come back when you upgrade WordPress.
This is actually bugging me. I’m doing searches in the entire WordPress installation for any code related to the comment list and nothing comes up.
Forum: Fixing WordPress
In reply to: Sidebar won't show on frontpage, but shows fine on other pagesWon’t get the time today sorry. Deep into something.
I would prefer to run tests on the theme directly myself if I was going to help. This forum is very limited for sharing files etc, yet we can’t discuss hiring etc.
You can however get further support on the WebTechGlobal forum and go from there. Free. Can’t say when but I’ll get around to it asap and you can give me your theme on there or PM me FTP details etc.
Forum: Fixing WordPress
In reply to: WP changing my Adsense IDHappens in web development.
Looking for answers in the wrong place, there are so many places to look.
Forum: Fixing WordPress
In reply to: Permalink and warning problemsSorry I forgot it was there, just looking over it now
Forum: Fixing WordPress
In reply to: Need help with incorporation wordpress into existing site.Please do.
You know you could have used WordPress as your main site.
Look at http://www.webtechglobal.co.uk
If your scroll down you will see I have an area of 9 of the latest blog posts and an area of 9 of the latest forum posts. The key thing is that the home page does not look like a blog. Also a WP theme can easily have a menu and header that looks like a standard site. That way you use WP to manage your main pages, tie the SEO together.
Just something to consider in future unless you have good reason to avoid this approach.
Forum: Fixing WordPress
In reply to: Permalink and warning problemsCan you copy your permalink structure here please.
Also paste the setting that holds your domain name. Ensure there is nothing strange about that. Probably won’t be.
Please also paste the contents of your htaccess file
Forum: Fixing WordPress
In reply to: WP changing my Adsense IDThat is the information we need.
You narrowed it right down. It is not a plugin causing it, your theme or WordPress.
Your said you coded it directly into your sidebar.php.
Please ensure when you done this, that you updated the server with the new copy of sidebar.php . If your 100% sure the site parsed your updated sidebar.php the it must be your hosting/server or an issue with your Google account. I assume when you say you still get this problem, your not saying that “sidebar.php” changes and shows this value. Only the source code of your web pages?
Meaning it is happening during parsing. Let your hosting know all this.