CliffAscent
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't get custom capabilities to apply.I got it to work by using the following code in the installation function of my theme.
// Get the administrator role. $role = get_role( 'administrator' ); // Add the customposts capabilities to the role. $role->add_cap( 'publish_customposts' ); $role->add_cap( 'edit_others_customposts' ); $role->add_cap( 'edit_customposts' ); $role->add_cap( 'edit_published_customposts' ); $role->add_cap( 'delete_customposts' ); $role->add_cap( 'delete_others_customposts' ); $role->add_cap( 'delete_published_customposts' ); $role->add_cap( 'delete_private_customposts' ); $role->add_cap( 'edit_private_customposts' ); $role->add_cap( 'read_private_customposts' );
Forum: Fixing WordPress
In reply to: Can't get custom capabilities to apply.I also tried on the init hook with no luck.
Forum: Fixing WordPress
In reply to: Another Blank Screen after Admin Login issueI started by renaming the folder for the easy-columns plugin and then try the backup2email plugin.
Forum: Fixing WordPress
In reply to: twitter user name vanishing from twitter widgetYou need to edit the CSS to make them stack, generally speaking you can do it this way.
Add the
alignleft
class to the list item<li>
so they will stack left. After the</ul>
add<div style="clear: both"></div>
so it doesn’t break the rest of the display.Forum: Fixing WordPress
In reply to: Migrating WP to Another ServerAre you running multisite? If so, you need to change 5 areas.
wp_options >> siteurl
wp_options >> home
wp_blogs >> 1
wp_site >> 1
wp_sitemeta >> 14and your config file. Don’t forget to check the config file and htaccess!
Forum: Fixing WordPress
In reply to: Simple Button, Users Can create a postYou will probably want to use a custom post type https://codex.www.ads-software.com/Function_Reference/register_post_type (it is in the back end, but you can simplify it) and then set custom capabilities on it and grant those to subscribers https://codex.www.ads-software.com/Function_Reference/add_cap
You can also search for a custom post type plugin and maybe combine that with a custom role editor plugin.
Forum: Fixing WordPress
In reply to: How do I remove the "posted on (date)"and "posted in: (category)You will have to locate the code in your themes files to remove that, where/how all depends on the theme. Normally date uses the function at https://codex.www.ads-software.com/Function_Reference/the_date and the category is probably https://codex.www.ads-software.com/Function_Reference/wp_get_post_categories so find those and remove them. Post lists are usually in archive.php, single posts are normally in single.php and pages are normally in page.php, but again this varies from theme to theme.
A lot of the public themes are “blog like”, normally you will need to get a specialized paid for theme or get one made yourself for something different.
Forum: Fixing WordPress
In reply to: Main page and logo link issuesMy bad ??
Forum: Fixing WordPress
In reply to: Main page and logo link issuesI’m not 100% sure, but if your theme has a front-page.php file, it may disable that option. Check in your theme for a front-page.php file and rename it, then try that setting I mentioned again.
Forum: Fixing WordPress
In reply to: my wordpress site not showing up in googleThe robots.txt looks fine and the site is indexed as recently as Oct 12th, but the cache of your homepage is still old and from when it was not accessible (at least that’s how it appears).
https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.blikoon.com
Forum: Fixing WordPress
In reply to: Widgets too in Sidebar topOne of your widgets has a width set that is too large for that theme.
Forum: Fixing WordPress
In reply to: Main page and logo link issuesYou need to edit /wp-admin/ >> Settings >> General >> “Front page displays” and choose a post or page to be the frontpage.
Forum: Fixing WordPress
In reply to: categoriesYou’re welcome.
Forum: Fixing WordPress
In reply to: Image Alignment does not work<div style=”float:left;”>image code</div>
<div style=”float:left;”>list code</div>
<div style=”clear:both;”></div>Forum: Fixing WordPress
In reply to: Minimized page only shows sidebarI personally can’t just tell you one trick or method to do that, but you can try reading up on responsive themes, here is one article I found (but I haven’t read it) https://wp.smashingmagazine.com/2012/06/28/create-responsive-mobile-first-wordpress-theme/