kayjayone
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin custom checkbox array not saving to the databaseAfter a few days of working on this, posted the problem, then came up with the answer…
Updated the following from…
if ( isset( $_POST[ $this->prefix . $customField['name'] ] ) && trim( $_POST[ $this->prefix . $customField['name'] ] ) )
To…
if ( isset( $_POST[ $this->prefix . $customField['name'] ] ) )
Removing the trim seemed to fix the issue in case this can help anyone.
Forum: Fixing WordPress
In reply to: Admin custom checkbox array not saving to the databasecode from pastebin…
Forum: Fixing WordPress
In reply to: User profile, remove personal optionsThis worked for me…
https://www.ilovecolors.com.ar/hide-personal-options-wordpress-user-profile/
Forum: Fixing WordPress
In reply to: changing value in custom fields?Forum: Fixing WordPress
In reply to: How to mask the addressUsing permalinks you can modify how the URL is displayed. A Category Base can also be set in the Permalink structure to control how category pages are displayed…
https://codex.www.ads-software.com/Using_Permalinks
Hope that helps.
Forum: Fixing WordPress
In reply to: Is this supposed to happpen?When files are uploaded WordPress creates additional copies of the image for each size defined in the Admin -> Settings -> Media section, this includes a new image for thumbnail, medium and large sizes of each image. So in your example the new files you are seeing; word-125×125.png is the thumbnail size, word-300×300.png is probably the medium size, etc.
Hope that helps.
Forum: Fixing WordPress
In reply to: Child Theme vs Parent theme index.php ?style.css is required it will name the parent theme at the top, then the child theme will have to be selected as the theme in the appearance section…
https://codex.www.ads-software.com/Child_Themes
After it is set up, yes, it will reach for the child index.php file
Hope that helps.
Forum: Fixing WordPress
In reply to: Include static HTML file in posts?For example while in post1…
1. Type in the text you’d like displayed for the link and select or highlight it
2. Click the chain looking – Insert/edit link button
3. In the URL field enter website.com/rates/item1.htm
4. If you want to open the page in a new window so the user does not leave your site, select open in a new window/tab
5. Click the Add Link button
Instructions specific to WordPress 3.1.2
Forum: Fixing WordPress
In reply to: Include static HTML file in posts?You could upload the html file as you would an image as part of the post and use the Insert into Post button to include a link to the file -or- if the html files have already been uploaded you could insert a link to the html file from its current location in the post.
If you are unsure how to this I can add step by step instructions.
Forum: Fixing WordPress
In reply to: Home Page and MenusIt’s hard to say without getting into the admin, but perhaps the theme has some sort of admin page for selecting what is displayed on the home page.?
Forum: Fixing WordPress
In reply to: Home Page and MenusDid you change the Front Page Displays setting?
1. Go to Settings -> Reading
2. Under Front Page Displays select A Static Page radio button
3. From the Front Page drop down select the Home page you createdRight now and probably by default in the theme a listing of posts is being displayed for the Home page. If the steps above does not fix the problem I might contact the theme developer to see if there is some custom code associated with the Home page.
Forum: Fixing WordPress
In reply to: Adding different editing post panels in admin menuNot sure about removing the classes. Ended up changing to this solution which gives each post type it’s own top level menu, might alleviate the class issue…
https://kovshenin.com/archives/custom-post-types-in-wordpress-3-0/
Forum: Fixing WordPress
In reply to: Adding different editing post panels in admin menuUsed this to list out posts by specific category under the Posts heading…
add_action('admin_menu', 'product_menu'); function product_menu() { add_submenu_page('edit.php', 'Products', 'Products', 'manage_options', 'edit.php?category_name=products' ); }
Forum: Themes and Templates
In reply to: WordPress admin menu – different sections for each post categoryIn case it can help others. Ended up going with just the listing out of the Posts part.
To add a link for post listings by category (products in this example) under the Post heading add the following code to the functions.php file…
add_action('admin_menu', products_menu'); function products_menu() { add_submenu_page('edit.php', 'Products', 'Products', 'manage_options', 'edit.php?category_name=products' ); }
Forum: Plugins
In reply to: [Plugin: Register Plus] Can’t change other users’ custom profile fieldsCreated a workaround where we still use Register Plus but create our own custom fields on the user profile page.
1. In the User Defined Fields section of the Register Plus settings page, added fields leaving the checkbox Add Profile Field blank
2. Created custom user profile fields using the same field names defined in the Register Plus settings page using the following method:
https://bavotasan.com/tutorials/adding-extra-fields-to-the-wordpress-user-profile/