Jack
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Manage what content the user are able to editI use custom fields for things like this. It locks them down to content rather than markup. And you can get that content and use it in your own php and adjust as necessary.
Honestly, advanced custom fields plugin makes it very simple to register these custom fields vs. manually doing it.
Forum: Developing with WordPress
In reply to: Administration menus vs Customizer APISince the option changes front end appearance, i would use the customizer api. It shows a little pencil/edit icon next to the items that can be changed on the page. So you don’t have to go hunting around the admin dashboard to find it.
Forum: Developing with WordPress
In reply to: Google Maps does not shows up on WP pageDoes the network panel in your browser show that your js file is loading correctly? As in there’s no 404 error on it and the path is correct?
Also, you should remove your Google api key from your post for safety. And/or make sure it’s locked down correctly.
- This reply was modified 7 years, 11 months ago by Jack.
Forum: Fixing WordPress
In reply to: Static Front Page Not SavingIs this a custom theme? Does the problem happen if you switch to the 2017 theme?
- This reply was modified 7 years, 11 months ago by Jack.
Forum: Fixing WordPress
In reply to: Timezone: WP vs HostIf you don’t have access to your php.ini file, you may need to contact your host. Sometimes on shared hosting, they may lock down php functions like time zone.
Forum: Fixing WordPress
In reply to: Plugin Recommendation for User Tracking/AnalyticsStream plugin perhaps? https://www.ads-software.com/plugins/stream/
Forum: Fixing WordPress
In reply to: Stuck on front landing pageDo you have any old files in your /public_html/ folder? Namely, look for a file named index.html
You can use the if statement inside the function that enqueues your scripts. For a loose example,
if(!wp_script_is('jQuery.js','enqueued') ) { wp_enqueue_script('jQuery.js'); }
- This reply was modified 7 years, 11 months ago by Jack.
I can’t speak for everyone, but imo this is a complicated php algorithm. So since it is vanilla php and not specific to WordPress, you may get better answers on stack overflow. That is, if you don’t find help here.
- This reply was modified 7 years, 11 months ago by Jack.
Forum: Fixing WordPress
In reply to: Can’t Update Permalinks following configuration changeIs there some kind of plugin that is trying to force https in wp-admin or something that wrote to your .htaccess file? How did you upgrade to https, in other words.
- This reply was modified 7 years, 11 months ago by Jack.
Forum: Fixing WordPress
In reply to: Content not visibleIf you click the html tab on the editor, does your text show up?
Forum: Fixing WordPress
In reply to: Save and publish doesn’t workIs the post visibility set to private by any chance? It is an option above the Publish button.
Forum: Fixing WordPress
In reply to: Read more tag does almost nothingTake a look at this write up:
A lot of times, the metabox will try to fuzzy match a term as you type it (sort of like a Google search)
So as you type a term that is already created, WordPress should pull it up as a suggestion.
Forum: Fixing WordPress
In reply to: Custom post.php file won’t save featured image on any postIt looks like the $newPost array isn’t checking for the featured image when you make a new post. Since they overwrote WordPress actions, it was probably easy to forget all that goes on with creating a new post. So the featured image never gets put in the database