0
votes
0answers
18 views

How To: Simple domPDF Example

Not quite sure if anyone here has used dompdf, but I'm in need of assistance. There's a plugin (post-pdf-export) that exports posts to PDF using dompdf. All I need to do is generate some html ...
0
votes
2answers
58 views

Multiple pages on one with different HTML

I am a bit confused on how this may be achieved. I have a website that I have coded already with static HTML/CSS and I am trying to incorporate it into wordpress. The challenge though is that the ...
0
votes
1answer
20 views

Replacing WordPress Icons (menu,icons32, etc)?

I want to replace wordpress admin sprites. I recreated the images and looked answrs for icon replacement using jquery and simply with CSS BUT what about ones link icons32-2x.png where I can't find the ...
0
votes
3answers
22 views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
0
votes
1answer
42 views

WordpressUser Submission Form

I have a User Post Submission form, and it has three issues, as well as one potential issue. Here is the code that processes the form. <?php if(isset($_POST['user_submission_form'])) { ...
0
votes
0answers
41 views

how i can hide some category from author admin panel?

i want author can not see some category from author admin panel but administrator can see that.how i can hide some category?my site http://techjagot.com .. here show some function.php code <?php ...
-3
votes
0answers
16 views

Images in 3 column portfolio are centering slightly off [closed]

I am wanting to center images on a 3 column portfolio page but when I use this code, the image centers slightly off kilter. Is there anything I need to change to make it center perfectly? ...
0
votes
0answers
31 views

Cant get theme to change footer color through theme customizer

I am having an issue trying to configure the theme I am working on to allow the footer color to be changed. So far all of my other options work so I am geussing it is an issue with the way I am ...
1
vote
1answer
91 views

Custom image upload

I'm trying to setup upload for for attachments for my custom post form. At first I add to my form tag enctype="multipart/form-data" For testing purposes I have two upload forms, but in future I'm ...
0
votes
0answers
36 views

PHP script working in PHP page but not PHP widget [closed]

I have this code : <html> <form method="post" action=""> <div align="center"> <p><b> What to see if the server is online rite now just add the server Address and Port ...
0
votes
1answer
76 views

Display wordpress post to static website in the footer

I am a totally fresh with wordpress I have this website : http://www.raminusa.com/ in footer there is a column name "Popular Link" and I want to replace it with Recent News that I will do but below ...
1
vote
1answer
116 views

Using the echo command adds unwanted br tags to source

I am making a simple HTML form in a plugin I am writing. I was thinking of using echo for all output, but I can't seem to control the formatting of the HTML outputted (for debugging, neat looking ...
0
votes
0answers
9 views

Code for shortcode [duplicate]

Possible Duplicate: How to return loop contents I got this code and i need to pass to shortcode. The way i tryed didnt work. Anyone help me? Home: <?php get_header(); ?> <div ...
0
votes
1answer
69 views

Shortcode displaying at the top of the page [duplicate]

Possible Duplicate: The result of a shortcode appear BEFORE page content short code output too early I got this shortcode for display my blog posts on my page, but the EXCERPT and the ...
-1
votes
1answer
78 views

Header location

I am editing a plugin, and I need to make it so that this line <h4><span><strong>100%</strong></span> which ends up making a circle with a number in it, show up in the ...
-2
votes
1answer
81 views

wordpress illegal string offset 'parameter' error

I am getting the error illegal string offset when creating a checkbox in the admin. my code look like this. <input type="checkbox" id="slideThre" name="custom_settings[checked]" value="1" ...
0
votes
1answer
56 views

custom fields wordpress

I am trying to add a value assigned in the custom field by doing a post in these following steps: I make a new post, add a new custom field where i specify a name and a value. PHP I add the ...
0
votes
2answers
80 views

Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )

I have updated my permalink structure to /archive/%post_id%, but if someone uses a URL like /archive/456857 instead of the full URL of /blog-test, WordPress shows the post without giving a 301 to the ...
-1
votes
1answer
85 views

Where to edit PHP/HTML?

I have updated some HTML via the .PHP file in a storefront theme in this file wpsc-single_product.php I got the desired effect, but I don't know if I should be editing theme php files directly. If ...
1
vote
3answers
74 views

How can I hide Home in my menu in a specific page?

I want to how can I hide the home in the menu without setting show_home in functions.php to false, I just want to do is hide it in a specific page. How can I do this? I am using the Twenty-Eleven ...
0
votes
0answers
69 views

Collecting Data from a Table [closed]

I've got a slightly complex issue that I feel should be simple enough to resolve, I just seem to be totally stuck. I've built a site that collects patient and medication data and stores each in a ...
0
votes
0answers
59 views

WP_register_script() - odd behavior or bug [closed]

I've got WordPress Theme and WordPress Plugin. Both use colorpicker.js file. Theme has this in functions.php (for admin only): wp_register_script('jquery_colorpicker_script', ...
2
votes
1answer
181 views

Wordpress Wysiwyg Content not being displayed

My Wordpress website really isn't working to how I want?! It was working fine, with nothing being touched, Then lately I find every-page is displaying the same content on each page. Not the ...
0
votes
1answer
318 views

Save Option on Database

Sorry for the question but can you help me? I have this form in a widget: <form> <fieldset> <legend>Counter Position:</legend> </br> <p> Right ...
-1
votes
2answers
60 views

HTML in PHP problem [closed]

I have the following code but I always get an error, it's the first time I've tried to merge HTML with PHP: <?php if(get_field('post_image')) { echo '<img src="'. get_field('post_image') ...
0
votes
1answer
140 views

Wordpress automatically adding <!— --> html tag around PHP code

I was managing a site, taking over from a previous administrator. With his last breath, he changed something on the site, precisely on the login section: http://www.spiritualresponse.com/login/ I ...
0
votes
2answers
69 views

Is it possible to isolate and use Wordpress functions outside of wordpress

I'm seeing a lot of jobs on elance and vWorker for converting html to wordpress? what's the general process for doiing this? hunting and pecking through the codex? what happens when you get to some ...
0
votes
2answers
374 views

How to include this jQuery File in wordpress?

Ok I have this jQuery that I have tested in a static html page and it works fine. How would I include jQuery to work on wordpress in a plugin? So this is the html page. <head> <title> ...
0
votes
1answer
119 views

Wordpress custom post type and taxonomy

So I have a custom post type called Video and a taxonomy called category that I use to group videos togheter, so I want to list them like this: Taxonomy NAME 1 VIDEO 1 VODEO 2 Taxonomy NAME 2 Video ...
0
votes
1answer
1k views

How to display recent posts on home page with custom HTML

I am looking to display x (undecided) number of recent posts (no more than 10) on my home page. For each post, I would like to display the title and a snippet of the content. I can whip up a SQL query ...
0
votes
2answers
148 views

How to make modifications only to certain elements of an HTML string on the server-side?

Is there a similar way to select / perform DOM manipulation on the server-side (PHP) like the way jQuery works? For example, if I wanted to modify content of each <pre ...
1
vote
3answers
223 views

Why the JavaScript code is ignored from wp editor?

In WordPress when i publish a page with JS code is ignored and don't returns anything. How can I make sure that when I write a HTML+JS code will be converted to output?! Like: <a class="print" ...
0
votes
3answers
341 views

How to get the second slug of a page url?

I have posts with a custom field called year. The year ranges from 1900 to 2011. I want to create an individual page for each year which will displays the posts with that year. So I will be creating a ...
-1
votes
1answer
130 views

Implement “No related posts for this entry” into the loop?

For my related posts I have set up a scrollable container. I need the HTML to be outside of the loop or otherwise the layout will be a mess if there are no related posts to display (missing divs that ...
3
votes
1answer
708 views

Wordpress custom taxonomy description for each post?

In a Wordpress blog, I'd like to put the term description of a specific custom taxonomy in the footer of each article. Is this possible? I've tried <?php term_description( $term_id, $taxonomy ) ...
0
votes
1answer
386 views

Wordpress plug-in for dynamic download link?

I am using Wordpress and I like to serve a page with a link to download. That link points to a new file EACH DAY. Is there a plugin that can do this? Store a list of filename per day Rotate each day ...
1
vote
1answer
1k views

add_filter the_content str_replace after shortcode

I want to add a PHP str_replace to the add_filter('the_content') function. I believe my problem is that the shortcodes are loading after the str_replace is called. I have a shortcode that outputs a ...
1
vote
1answer
225 views

Why would a GET variable one one page of a site cause a 404 error when a GET variable works on another page of a site?

For example I have 20 pages on a site. one of them is called bacon another called eggs. on the same site...lets say breakfast.com I have the permalinks set up properly and have used them ...
0
votes
3answers
655 views

Wordpress automatically adds <pre> tags when pasting code, how to stop it?

I am presently learning PHP and Linux simultaneously. And I want to blog my notes not only for my future reference, but also because it could help others. I just noticed an issue with Wordpress - - ...
0
votes
1answer
122 views

Custom forms with HTML

Will there be any issues with creating a custom form in the index page? Will I be able to get and post requests? It's a simple email validation form and once validated, the user will be able to ...
0
votes
1answer
379 views

HTML table attributes ignored

I'm trying to add a table to a php page template. The headers and cells contents show well, but the table attributes are being ignored. This code: <table border="1" cellspacing="10"> ...
1
vote
2answers
250 views

What exactly does “Posts page” do in WordPress?

Hay, I'm making a WordPress template, and i have 4 main pages. HOME BLOG CONTACT ABOUT US As you can see "Blog" is a page (i need it to display when i call wp_list_pages()), but how do i edit this ...
9
votes
1answer
624 views

How do I make an HTML table from a database table?

is there a built-in wordpress function to make the HTML or should I use plain-old PHP?
0
votes
2answers
212 views

Is there any tool to find lines of codes responsible to generate front-end HTML elements?

Dreamweaver CS5 is very useful to design or modify a Wordpress theme. It inspects CSS elements in Live view (after seting up a test server), but its unable to trace original wordpress code responsible ...
0
votes
1answer
166 views

Do not run this code on posts with a specific tag!

This is sort of complicated. I am looking for some php help related to WordPress blog. The basic requirement is that some HTML code (ad code) is not supposed to run on posts with a specific tag. ...
1
vote
1answer
82 views

Get the most repeated post contents from a search?

In my site the posts content is always the name of a school, so if I search for Chicago I get a lot of posts with different schools as content. What I want to do is to get the Schools with the most ...
0
votes
2answers
969 views

How do I show current post content in the header?

I'm trying to add the post content in the header but for some reason it doesn't show anything. However it does retrieve the post content. I wrote this: <div <?php post_class() ?> ...
1
vote
2answers
1k views

How do I make wordpress comment fields required?

Here is my form: <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" class="validate"> <?php if($user_ID) : ?> <?php ...
0
votes
1answer
766 views

How do I make search only search in post content?

I want to have two search bars, one which works normally and one that searchs only in the post content but I can't even find the code of the search funtion to create the second. Can I use a plugin to ...
0
votes
1answer
175 views

Missing sidebar parameter “fix” - before_content

as you know the sidebar parameters from register_sidebar() that control the widget layout are - before_widget - after_widget - before_title - after_title the problem is that you cannot implement ...