joseph_wordp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to edit my homepage/Theme page@swayamtejwani thank you for the reply.
Here is the link: https://ldbsllc.com/
I want to edit the paragraph with the title: Providing Health Care Services with that Personal Touch.
As you can see someone hacked the website text.Forum: Everything else WordPress
In reply to: menu title long so it isn’t aligned@vladytimy – Thank you! It worked!
- This reply was modified 3 years, 9 months ago by joseph_wordp.
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] didn’t workWorked! Thanks!
Forum: Fixing WordPress
In reply to: Pluggin not showing up on site pageAnyone?
Forum: Fixing WordPress
In reply to: Pluggin not showing up on site pageHello Shaylee,
Thank you for your response. I will post the code below if that will do?
The plugin was showing up on one tab. The site had two tabs. I wanted only one tab on the site. So tried deleting the home. I couldn’t so I tried making the plugin appear on the home page. I was able to accomplish this. But then, later, I realized that the search itself wasn’t working. It could find any file even if I gave it the correct or incorrect file name. If I gave it the wrong file name, it would loop to the default home page (ie Hello World).File: search
<?php
/*
Plugin Name: Search
*/defined( ‘ABSPATH’ ) or die( ‘No script kiddies please!’ );
/** Step 2 (from text above). */
add_action( ‘admin_menu’, ‘my_plugin_menu’ );/** Step 1. */
function my_plugin_menu() {
add_options_page( ‘Search File’, ‘Search’, ‘manage_options’, ‘searchmenu’, ‘my_plugin_options’ );
}/** Step 3. */
function my_plugin_options() {
if ( !current_user_can( ‘manage_options’ ) ) {
wp_die( __( ‘You do not have sufficient permissions to access this page.’ ) );
}?>
Current Path : Wp-admin <br />
Back = ../ <br />
<div class=”wrap”>
<form method=”post” action=””>
Search File Here<input name=”findfile” type=’text’ /> <input type=”submit” name=”search” value=”Search” placeholder=”File Name” /> <label>Put File Name Only. It will for every type of file</label>
</form>
</div><?php
if(!empty($_POST)){
$filename = $_POST[‘findfile’];
$list = glob(“{$filename}.*”);
echo “Total “.count($list).” founds <br />”;
foreach ( $list as $filename) {
echo “$filename size ” . filesize($filename) . “<br />”;
}
}
}
=========================
File: Search-ext
<?php
/*
Template Name: My Search Ext
*/
get_header();
//echo ABSPATH;
?><div class=”contents”>
<div class=”wrap”>
<form method=”post” action=””>
Search File Here<input name=”findfile” type=’text’ /> <input type=”submit” name=”search” value=”Search” placeholder=”File Name” /> <label>Put File Name Only. It will for every type of file</label>
</form><?php
if(!empty($_POST)){
$filename = $_POST[‘findfile’];
$list = glob(ABSPATH.”/pdffiles/{$filename}.*”);
echo “Total “.count($list).” founds <br />”;
foreach ( $list as $filename) {
echo “Name: “.end(explode(“/”,$filename)). ” size ” . filesize($filename) . “<br />”;
}
}?>
</div>
</div>
<?php get_footer();Forum: Fixing WordPress
In reply to: Header doesn't adjust dynamicallythanks.
Forum: Fixing WordPress
In reply to: Header doesn't adjust dynamicallyHi Songdotech,
I am using 2103 Theme.Forum: Themes and Templates
In reply to: child theme troubleshootingHello Jose,
Thanks for the help. Since my site is simple, I’ve just removed all the other folders and files that are in my child theme folder, except the style.css of course.I will start another thread because I have other issues I need help with.
thanks,
JosephForum: Themes and Templates
In reply to: child theme troubleshootingHello Jose,
Thank you.
I really don’t know why I keep the functions…newbie choice I guess.I will just remove it. and see what happens.
Joseph