Big Bagel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I remove the textbox/form from my page?If you can provide a link to your site it would be helpful.
Forum: Fixing WordPress
In reply to: User Account Creation DateTry this plugin:
https://www.ads-software.com/extend/plugins/recently-registered/
Forum: Fixing WordPress
In reply to: Best way to create a page that only a certain user can access?You can set the visibility of a post/page to private (only you can see it) or protected (requires a password). However, administrators and editors will always be able to see every post/page regardless. This page explains this in more detail:
Anything else would require a plugin or coding.
Forum: Fixing WordPress
In reply to: Need to change Site title and Description in HeaderPutting this in
style.css
would do the trick.#site-title { width: 100%; text-align: center; } #site-description { width: 100%; text-align: center; color: black; }
Switching to a child theme is always a good idea when editing a theme:
Forum: Fixing WordPress
In reply to: Plugin Install Asks for FTP DetailsWordPress asks for your FTP credentials when it can’t access the files directly. This is usually caused by PHP running as the apache user (mod_php or CGI) rather than the user that owns your WordPress files (suPHP or FastCGI). Switching over to using suPHP or FastCGI would probably fix it. Of course, if you don’t want to mess with that, you can always just put your FTP credentials directly in
wp-config.php
like this:define( 'FTP_USER', 'username' ); define( 'FTP_PASS', 'password' ); define( 'FTP_HOST', 'ftp.example.org:21' );
https://codex.www.ads-software.com/Editing_wp-config.php#WordPress_Upgrade_Constants
Here are a few links that might be useful:
https://www.chrisabernethy.com/why-wordpress-asks-connection-info/
https://admindaily.com/how-to-stop-wordpress-ftp-to-upgrade-plugins.html
https://www.ads-software.com/support/topic/wp-asks-for-ftp-userpass-when-upgrading-a-plugin
https://boomshadow.net/tech/php-handlers/Forum: Fixing WordPress
In reply to: Modifying search results based on post_typeThe specifics depend on the theme you’re using, but you can use
get_post_type()
in your search loop to check the post type. Something like this would work:if ( 'your-custom-post' == get_post_type() ) { /* Title for this custom post type */ } else { /* Title for everything else */ }
Forum: Fixing WordPress
In reply to: Remove unwanted scripts from the headerWithout a link to see exactly which lines you want to get rid of, it’s impossible to say where they’re being added (plugin, theme, or core).
Forum: Fixing WordPress
In reply to: How to generate a CATEGORY RSS FEED?Forum: Alpha/Beta/RC
In reply to: Get_currentuserinfo alternative in 3.3 beta 3?If you wanted to simplify that slightly, you could instead check for a certain capability that all those roles would share. For example:
<?php if ( current_user_can( 'publish_posts' ) ) { ?>
Erm…I’m sure that plugin was extremely useful before custom menus were added to WordPress in version 3.0. However, I would think using the built-in menu screen (as long as your theme supports it) would be easier than installing a plug-in to do exactly the same thing. Plus, you’ll end up with actual links (to anything you want) as opposed to dummy pages that redirect.
Also, I think this topic has moved past the actual custom link creation.
No, that plugin is not for altering theme files. To alter your theme’s CSS (usually
style.css
) you can try the built-in editor (Appearance->Editor
) or use an FTP client to download and, after editing, reupload the file. These pages might help with that:Also, when editing a theme, it’s always a good idea to switch to a child theme so you don’t lose your edits if/when your theme updates.
Edit:
If you really don’t want to mess with any theme files, you can also try a plugin that allows you to add custom CSS dynamically. Here’s a good one:
Forum: Fixing WordPress
In reply to: Adding more authorsThis is the forum for those with self-hosted WordPress sites.
https://en.support.wordpress.com/com-vs-org/
If your blog is on WordPress.com, you should try their forum and/or support page:
https://en.support.wordpress.com/
https://en.forums.wordpress.com/I can point you to this possibly relevant page:
https://en.support.wordpress.com/adding-users/
Also, it is possible to register on WordPress.com without having it automatically create a blog for you. Here’s the sign up page to do that:
Forum: Themes and Templates
In reply to: Home page not showing up in the menu…what am I doing wrong?Indeed, adding the ability to use custom menus to a theme that doesn’t support them is a simple matter of adding a small amount of code in functions.php. I just didn’t know that’s what you wanted…
For any future readers, here are a couple tutorials on enabling custom menus in a theme that doesn’t already support them:
https://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
https://www.devlounge.net/code/how-to-add-support-for-menus-in-your-wordpress-themeForum: Themes and Templates
In reply to: Home page not showing up in the menu…what am I doing wrong?Just for the sake of being complete, here’s an example of what I think you’re going for:
$args = array( 'show_home' => true, 'link_before' => '<span>', 'link_after' => '</span>' ); wp_page_menu( $args );
Forum: Themes and Templates
In reply to: Home page not showing up in the menu…what am I doing wrong?I think you might be confused as to the intendted use of
wp_nav_menu()
then, which is to allow custom menus through “Appearance->Menus”.Function Reference/wp nav menu
Appearance Menus ScreenIf you don’t plan on ever using that functionality, you should use
wp_page_menu()
instead.Forum: Alpha/Beta/RC
In reply to: Get_currentuserinfo alternative in 3.3 beta 3?User levels have been deprecated. You should check user roles instead:
If you need to check that the current user has the appropriate privileges, you can use
current_user_can()
: