coffeesleep
Forum Replies Created
-
@bcworkz thank you, would you be able to share a sample or two where I can refer to in order to construct my own select/option group? Something like a source code sample or an explanatory article would be greatly appreciated. Sorry I am still new to coding / WordPress and did some googling but was not able to find a good reference. Thanks again.
This was resolved using general WP function wp_get_current_user()
I was able to move forward when I added singular.php file. I made additional changes on top of that but this file seemed to be the file I was missing. Thank you if you took a look into this issue.
I was trying several different things and it may have been because I am creating my on theme. It seemed to have been working on default themes e.g. twentynineteen.
Could someone be able to let me know what I need to add to/modify in my original theme in order to have Ultimate Member plugin working?
I made a new theme from scratch with this bootstrap theme as a starting point.
https://startbootstrap.com/themes/freelancer/- This reply was modified 5 years, 10 months ago by coffeesleep.
I think I made a tiny step forward by copying the template file from “templates” folder of the plugin. I renamed the file based on the URL that shows as a path for each menu, e.g. renamed
members.phptopage-12.php.
Based on the template hierarchy, I suppose, the page is now referring to this page, but shows this error; basically I cannot find where$argsis defined. In a separate file..?Notice: Undefined variable: args in /var/www/html/wordpress/wp-content/themes/imagepjtheme/page-12.php on line 12 Notice: Undefined variable: args in /var/www/html/wordpress/wp-content/themes/imagepjtheme/page-12.php on line 14 Warning: array_merge(): Argument #2 is not an array in /var/www/html/wordpress/wp-content/themes/imagepjtheme/page-12.php on line 14 Notice: Undefined index: form_id in /var/www/html/wordpress/wp-content/plugins/ultimate-member/templates/members-grid.php on line 3 Notice: Undefined index: form_id in /var/www/html/wordpress/wp-content/plugins/ultimate-member/templates/members-list.php on line 3It would be greatly appreciated if someone could guide me on this.
Additional note on what I tried: When I add a blank
page.phpfile and just add a text “hello”, all the default pages will show this “hello” page. Is this because the new page took over index.php based on template hierarchy? Am I supposed to copy any of the .php files from the wp-content > plugins > ultimate-member folder? (which did not seem to work..)