Martin Robbins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminGood, back to twentyfifteen/functions.php …
Do you have this part exactly? if so , on what line numbers?
/** * Twenty Fifteen functions and definitions * * Set up the theme and provides some helper functions, which are used in the * theme as custom template tags. Others are attached to action and filter * hooks in WordPress to change core functionality. * * When using a child theme you can override certain functions (those wrapped * in a function_exists() call) by defining them first in your child theme's * functions.php file. The child theme's functions.php file is included before * the parent theme's file, so the child theme functions would be used. * * @link https://codex.wordpress.org/Theme_Development * @link https://codex.wordpress.org/Child_Themes * * Functions that are not pluggable (not wrapped in function_exists()) are * instead attached to a filter or action hook. * * For more information on hooks, actions, and filters, * {@link https://codex.wordpress.org/Plugin_API} * * @package WordPress * @subpackage Twenty_Fifteen * @since Twenty Fifteen 1.0 */Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminYeah I wrote copy two lines, looks like you did more like 5 lines, never mind that for now
What about the first five lines of /twentyfifteen/style.css ?
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminGood morning @pwdiane
Are you sure about twentyfifteen/functions.php ? … It appears to be duplicate of responsive/functions.php ?Forum: Fixing WordPress
In reply to: Changing directory now cannot get into admin@pwdiane I’ve made some interesting discovery today, probably don’t need the pastebins. Please post here just the sections where you inserted code, perhaps the first five lines? … of those same two files …
/wp/wp-content/themes/twentyfifteen/functions.php
/wp/wp-content/themes/responsive/functions.phpEnclose the code in backticks (the slanted single quote near the esc on my keyboard) to make it easier to read.
Forum: Themes and Templates
In reply to: my 2015 theme appears different on mobileI don’t think you’re missing anything, fairly certain it is responsive exactly as intended. You can read more about it here: https://wordpress.org/themes/twentyfifteen/
Forum: Fixing WordPress
In reply to: wp-admin/install.php not foundGreetings:
Your knowledgebase article is 10 years old and I see at least one erroneous instruction.
You could try this:
http://anastasiasofina.com/wordpress/wp-admin/install.phpAlso, can you find the folder /wp-admin/ anywhere on your host? If so, please tell us the folder which contains the /wp-admin/ folder?
Forum: Fixing WordPress
In reply to: Help with database resetWill a restore lose content?
Yes, a database restore will lose any content additions and/or edits done since the backup was made.
How about plugins I’ve added?
A database restore would not cause plugins be lost, however they might contain malware code and probably should somehow be analyzed and cleaned
Remain calm and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.
Forum: Fixing WordPress
In reply to: Delete ThemesHello Karin
if you have administrator authority, there should be a link to delete at the lower right while viewing the theme details.
Forum: Fixing WordPress
In reply to: CPTs don't show up at all users?Very Good, Yes, the Screen Options … I see now you had the show_in_menu and show_in_nav_menus both true. Please mark the topic resolved?
Forum: Fixing WordPress
In reply to: Problem deleting a blogYou are welcome
Your blog via WordPress.com … Have you tried asking your question at https://en.support.wordpress.com/ ?
Good Luck
Forum: Themes and Templates
In reply to: menu not visibleIs it possible? Yes
Is it easy? No, not at all, unless you understand CSS media queries and CSS positioning and whatever you did with code from comment 4.
Except for between 768 to 800 px screen width, Your menus appear to me properly visible. The location of the mobile menu top right is a generally accepted convention. It’s called a “hamburger menu”, two slices of bread and the hamburger patty in between!
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminYou are welcome @pwdiane We remain on track…
/index.php.bad … has the same line: require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
It does not have the ‘/wp/wp-blog-header.php’What should I do about that?
We don’t need it until later, you may go ahead and make it so, the last line(17) of /index.php.bad :
require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );___
Next I’ll need to know what all files and folders present within /wp/wp-content/plugins/ ?___
Next I’ll need you to learn pastebin.com … it’s not difficult at all:- create 2 new pastes
- make them php formatted, unlisted, and expire after 2 days
- one is the full contents of /wp/wp-content/themes/responsive/functions.php … copy and save its full pastebin.com/whatever url before you proceed to the second one
- the second one is the full contents of /wp/wp-content/themes/twentyfifteen/functions.php … copy and save its full pastebin.com/whatever url
- visit both saved pastebin.com/whatever urls to verify they are correct … If correct, tell us what are the two pastebin urls?
Forum: Themes and Templates
In reply to: [P2] @mentions – use for child / new themeIf you’re using p2 as a parent for your child, all the js and inc files will be there and available.
For a new parent, To begin, I would just keep all of P2/js and all of P2/inc …
Sorry, I can’t speak at all to the P2 functionality, it’s not mine. P2 is by Automattic, the same folks who operate WordPress.com. I would suspect P2 is authored by @matt himself.
Anything more should be here I believe: https://wordpress.org/tags/p2?forum_id=5
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminforget pages, it’s just create a text file in the root with
text contents = ” this is /index.html “
and filename = /index.html
___
Also rename /wp/.htaccess to /wp/bad.htaccess___
Also, check inside file /wp/index.php … the last line(17) should berequire( dirname( __FILE__ ) . '/wp-blog-header.php' );___
Also, check inside file /index.php.bad … the last line(17) should berequire( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminOK good back to the root folder …
if present /index.php rename to /index.php.bad
and
create file /index.html with text contents ” this is /index.html ”