Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to modify Wordpress

Posted on 2013-01-21
18
437 Views
Last Modified: 2013-02-09
Unfortunately, I have limited desire to make a science project out of editing a Wordpress page like the one at www.marketcoding.com.  I'd like to remove some of the elements of the page but have difficulty identifying what to turn off and where to do it?  Here is a video outlining this frustration from my vantage point http://screencast.com/t/wzyJUcXVBY.  

Is there any easy way yet, to figure out what to disable on a Wordpress page?
0
Comment
Question by:frugalmule
  • 8
  • 4
  • 3
  • +1
18 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38804173
Is there any easy way yet, to figure out what to disable on a Wordpress page?

Yes, learning how WordPress works and what elements present where.  Eventually you will need knowledge of HTML, CSS, PHP, and WordPress-specific functionality to gain full control.

Here is a video

Not going to watch it.  State your specific question.
0
 

Author Comment

by:frugalmule
ID: 38806269
How do I make the top navigation bar and the shoutbox thing go away on that page only?
0
 
LVL 17

Expert Comment

by:jrm213jrm213
ID: 38814382
Hi,

I have never worked with a theme like you have installed there, it does seem rather confusing. You may need to ask the developer of the theme for documentation on what each item does.

What I can tell you is

1. If you don't want the comment section to show up on a page, when creating or editing the page, look for the "Discussion" section, and choose to not allow comments and trackbacks. If you go to "Settings" ---> "Discussion", you can uncheck "Allow people to post comments on new articles", and commenting will be turned off by default for all new posts you write.

2. The top bar you should (depends on how the theme is made) be able to go to "Appearance" ---> "Menus" and modify the menu from there.  You should see a box on the left that says "Theme Locations" it should have some drop down menus, the one that says "Primary Navigation" should be the menu that you see in that bar on your site. So editing that menu should edit what is seen in that bar.

3. If you don't have any special looks for your pages, then you want "Default Template" as your template.

4. The parent should only be used if you want a hierarchical structure for your pages. Think of it as a tree structure. If you have a page  "About Us" and then you have pages "Directions" and "History", you could make "About Us" the parent of "Directions" and "History". It is a way to organize your content as well as it used to be a way to build multi-level drop down navigations. But you should be able to use the Menu editor to build any type of menu you want now.

I hope that helps.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 17

Expert Comment

by:nanharbison
ID: 38815079
To remove elements on a page, go to Appearance -> widgets. It will show you which widgets are available, and you can move them into the left or right sidebar or take them out.
0
 

Author Comment

by:frugalmule
ID: 38822717
Is there any quick way to see the various locations?  Surely there are static names for some of the areas on the screen?  Perhaps it's wishful thinking but I thought for sure that there would be something by now that could make figuring out what to change a little easier.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38822754
What is the name of the theme you are using and what area are you looking to change or remove?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38822785
Nan,

I'm pretty sure (from past questions) the OP is using Weaver to create "custom" themes.  Not all of the normal WordPress tips and tricks will be applicable :(
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38822846
Thanks Jason. frugalmule - the content management program called Drupal makes it really easy to show/hide various parts of the page. But maybe you have to get this done with WP.
0
 

Author Comment

by:frugalmule
ID: 38823277
Yeah I am looking to get it done with WP.  It's quite troubling to still not have the ability to easily tell what to edit.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38823478
It's quite troubling to still not have the ability to easily tell what to edit.

It all has to do with your theme framework and a basic understanding of WordPress theme construction.  If you don't have those then mucking about deep in the theme code is not a recommended activity.  

If the menu exists on all pages it's because it is being called with header.php of your theme.  In header.php you have a line similar to this:

wp_nav_menu( array( 'theme_location' => 'header-menu' ) );

Open in new window


that calls the menu code. To exclude it you would usually identify the page ID number and then use the is_page() function to create an if statement.  So if the pageID in question is 5, the if statement would look like:

if( is_page(5) ) {
        //do nothing
} else {
       wp_nav_menu( array( 'theme_location' => 'header-menu' ) );
}

Open in new window


If Weaver is still the way it was a few years ago you may also have a zillion options in each edit screen to enable/disable various options.  If it is still buggy, you need to contact their support forum to get help with why isn't acting the way it should.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38824457
Do you use Firefox;s firebug to be able to right click on an element on the page to see what div it is in and what the styling rules are? Maybe you can change a style to be hidden? Chrome has a built in code inspector. Maybe you know this....
0
 

Author Comment

by:frugalmule
ID: 38824913
Thank you for the tip about the Chrome developer tools.  Still no luck identifying parts.  Here is a video of the procedure I followed http://screencast.com/t/6rzxENnrhR.  Thank you again for your help.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38824960
Great, glad you found it. Is this the site you want to remove elements from? You put the mouse over the part of the page you are looking for and right-click and choose "Inspect Element"
Sometimes you have to go up or down a few lines to see the whole element you are looking for.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38824968
It's funny that you say:
"I have limited desire to make a science project out of editing a Wordpress page "
because in the 14 years I have been doing web development, I have found that everything new becomes a time-consuming science project. It's the nature of the beast!
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 38824981
I just finally looked at your first video, I hadn't done that before because I thought I understood your problem, but this makes it much clearer.
The shout box and disclaimer are probably widgets, did you try going to the widget page and removing them?
0
 
LVL 17

Accepted Solution

by:
nanharbison earned 500 total points
ID: 38824985
Also, there is a plugin called Widget Controller that allows you to show or hide widgets on specific pages.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WordPress Nightmare 30 60
WordPress Master Slider 4 24
Can't find PHP files on account that has WordPress 3 38
Need help with WordPress On-click Action functionality 3 54
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question