lothsun
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Allow user to edit widget (or specific widget)I use Admin Menu Editor to do things like this. You can specify which capability gives access to specific menu areas. So as to guide you though this:
- Install admin menu editor
- On the menu editor settings (setting>menu editor) click on appearance then on the dropdown for widgets
- Change the required capability to your custom one.
You may need to set the appearance capability to the same thing to access the widgets menu.
Forum: Plugins
In reply to: [White Label CMS] Change Role from Editor to WebmasterThe post wasn’t posted. Please link it again. Thanks.
Forum: Plugins
In reply to: [Simple Staff List] Use SSLP Twice on 1 WebsiteThanks for all the help Brett. I’ll let you know when I get done customizing it to work with the albums and layout I want. Then maybe you can take a look at the code and help me improve it if you have time. Thanks again for everything and making a great plugin.
Forum: Plugins
In reply to: [Simple Staff List] Use SSLP Twice on 1 WebsiteFound my error. In admin-views.php and admin-install-uninstall.php I had the loop named [band_member_loop] and in user-view-show-band-member-list.php I had it as [band_loop].
Forum: Plugins
In reply to: [Simple Staff List] Use SSLP Twice on 1 WebsiteThanks for the help, I have already done that but for some reason I can’t get the loop to display now using the modified code. I am doing a simple port over to just say “band members” instead of “staff members” to make sure i have modified correctly. Pretty much anything that said staff I changed to band. I must have messed up somewhere. :/ haha
Forum: Plugins
In reply to: [Simple Staff List] Use SSLP Twice on 1 WebsiteI assume you are referring to the “Order” sub-menu, and I may need that. Not for sure yet. Depends on how they decide they want to display the albums. But I’m sure they will just want them going in the typical order of newest album at top and then getting older as you go down the page. I probably won’t need the template area as I’ll just hard code it in.
Forum: Plugins
In reply to: [Simple Staff List] Use SSLP Twice on 1 WebsiteYou think it would be easier to write everything from scratch instead of modifying your plugin?
Forum: Themes and Templates
In reply to: Make widget into page templateI found out what was wrong. I had an extra endif statement on the page.
Forum: Themes and Templates
In reply to: Make widget into page templateAlso, here is the code for the album widget:
<div class="details"> <div class="hgroup"> <em><?php echo reverse_escape(get_option('cap_album_intro')); ?> →</em> <h1><?php echo reverse_escape(get_option('cap_album_title')); ?></h1> </div> <div class="album_cover"> <img src="<?php bloginfo( 'template_directory' ); ?>/thumb.php?src=<?php if (is_multisite()){echo get_current_site(1)->path; echo str_replace(get_blog_option($blog_id,'fileupload_url'),get_blog_option($blog_id,'upload_path'),reverse_escape(get_option('cap_album_cover_art'))); }else{ echo reverse_escape(get_option('cap_album_cover_art'));}?>&h=204&w=227&zc=1" alt="cd"/> </div> <div class="more_info more_info_home"> <p><em><?php echo reverse_escape(get_option('cap_album_links_title')); ?></em></p> <p> <?php // array of 4 links for the homepage $links = array( 'first' => array( 'title' => reverse_escape(get_option('cap_album_online_store_title1')), 'url' => reverse_escape(get_option('cap_album_online_store_url1')), ), 'second' => array( 'title' => reverse_escape(get_option('cap_album_online_store_title2')), 'url' => reverse_escape(get_option('cap_album_online_store_url2')), ), 'third' => array( 'title' => reverse_escape(get_option('cap_album_online_store_title3')), 'url' => reverse_escape(get_option('cap_album_online_store_url3')), ), 'fourth' => array( 'title' => reverse_escape(get_option('cap_album_online_store_title4')), 'url' => reverse_escape(get_option('cap_album_online_store_url4')), ), ); ?> <?php // loop through all the links, only rendering if there's a link entered foreach($links as $num => $link) { if(!strstr($link['url'], ' URL')) { ?> <a href="<?php echo($link['url']); ?>"><?php echo($link['title']); ?></a> <?php // end image check for faders } // end loop through faders } ?> </p> </div> </div>
Time.ly doesn’t support custom permalink structures. They will just tell you to set your permalink structure to default.
Forum: Fixing WordPress
In reply to: Pages link issueit is now closed
Forum: Fixing WordPress
In reply to: Pages link issueThank you guys. That worked perfectly. The community support is one of the reasons I decided to try wordpress out.
Forum: Fixing WordPress
In reply to: Pages link issuemayeenul,
The page is not in the trash. Do you happen to know where the slug would be located at in the database?
Forum: Fixing WordPress
In reply to: Pages link issueDo you know where that slug is located at in the database?
I’m not familiar with php. Can you explain what I need to edit?