ndmccain
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple:Press Forum] No Customizer for Modern 2020 ThemeAlso is there a way to set default icons for forums and posts!
Forum: Plugins
In reply to: [Etsy Shop] Without Section IDGreat! I’ll give it a go!
I found the solution myself!
I too am getting this error with the latest version.
They’re not subdirectories. It uses Mod Rewrite to rewrite URLs to be more SEO friendly.
- This reply was modified 5 years, 6 months ago by ndmccain.
Forum: Fixing WordPress
In reply to: Using Tables Within A PluginHave another problem. Now my form won’t show up. If I do just the form it works but it won’t work once I combine it with the processing script.
Here’s the code for that: https://gist.github.com/hofpscripts/be8cc165708bc755fa1db731966d71ac
Forum: Fixing WordPress
In reply to: Using Tables Within A PluginI appreciate the help. It tells me Update Failed and displays the table data towards the top of the page before the page loads.
https://gist.github.com/hofpscripts/6241de2557def11fd2be54817fa18b76
Thank you.
Forum: Plugins
In reply to: [WC Fields Factory] Created product field but don't see it in productI’m having the same problem. Would really like a solution!
Forum: Plugins
In reply to: [Woody code snippets - Insert Header Footer Code, AdSense Ads] Pagination?The code looks like:
<?php if (isset($_GET["page"])) { $page = $_GET["page"]; } else { $page=1; }; $start_from = ($page-1) * 20; $sql = "SELECT * FROM users ORDER BY userid ASC LIMIT $start_from, 20"; $rs_result = mysqli_query($conn,$sql); ?> <table class="table table-striped" width="100%"> <?php while ($row = mysqli_fetch_array($rs_result)) { ?> <tr> <td><a href="viewmember.php?mid=<? echo $row['userid']; ?>"><? echo $row['username']; ?></a></td> <td><a class="btn btn-default btn-xs" href="mailto:<? echo $row['email']; ?>"><i class="fa fa-envelope"></i> Email</a></td> <td><? echo $row['level']; ?> Member</td> <td><? echo $row['joined']; ?></td> </tr> <?php }; ?> </table> <?php $sql2 = "SELECT COUNT(userid) FROM users"; $rs_result2 = mysqli_query($conn,$sql2); $row2 = mysqli_fetch_row($rs_result2); $total_records = $row2[0]; $total_pages = ceil($total_records / 20); echo '<nav><ul class="pagination pagination-sm">'; for ($i=1; $i<=$total_pages; $i++) { echo "<li><a href='/members/?page=".$i."'>".$i."</a></li> "; }; echo '</ul></nav>';
It would of course be edited to work with the plugin and the paths to the db connection file would be added.
Thank you for your time!
Forum: Plugins
In reply to: [Multisite Directory] Problem with Shortcode on PageThe only short code I could find in the doc.
[site-directory]
Forum: Themes and Templates
In reply to: [Twenty Twelve] Center Featured ImageIt’s just the default Twenty Tweleve theme that comes with WordPress. My site isn’t live yet.
Forum: Plugins
In reply to: [Wordpress Picture / Portfolio / Media Gallery] View Project LinkI figured out what it was doing. That’s the link for the external live URL. Is there a way to make it not appear if there is no URL?
Forum: Plugins
In reply to: theme options don’t update/recordWhen I try to update the colors it says the Page Container color is invalid.