gabrielcastillo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Showing one page's content on another pageyou can wrap this into a shortcode as well. Paste this in your functions.php file and you can now use the shortcode
” [my_content id=”Enter your page id number” title=Set this to true if you want to show title /] “function get_post_page_content( $atts ) { extract( shortcode_atts( array( 'id' => null, 'title' => false, ), $atts ) ); $the_query = new WP_Query( 'page_id='.$id ); while ( $the_query->have_posts() ) { $the_query->the_post(); if($title == true){ the_title(); } the_content(); } wp_reset_postdata(); } add_shortcode( 'my_content', 'get_post_page_content' );
Forum: Plugins
In reply to: database in serverWhat are you trying to accomplish?
in you would like to create a table, you need to goto phpmyadmin or some sort of mysql interface to create data in your new database.
Then you can add a table, and insert fieldnames.
Forum: Fixing WordPress
In reply to: Problems Uploading ImagesWhat theme are you using?
Try using firefox with firebug installed.
Then activate firebug in the top right corner of the screen. The bug will appear orange and a small screen will show, you will then need to goto console tab and reload the page. you will see data being proceeded. Then try uploading a image with this console open. If you have error’s you will see them in red. Post any error’s you see. This will give ppl a better understanding of what is happening if you have jquery or javascript error’s uploading.
Forum: Plugins
In reply to: I don't have the right FTP password?where do you go to login?
you should be login @ https://www.glutenfreedee.com/wp-admin
You do not need FTP to edit your wordpress site or content, unless you are editing the files directly.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Edit Artist descriptionThe code you are looking to edit is in the jquery code. You can remove the line below or just delete “by”.
<p class="artist-outer">By <span class="artist"></span></p>' +
The file is: ttw-music-player.php
This is located in the includes folder of the plugin.
This plugin doesn’t sort the post’s. It basically adds div’s to your content editor. so you can post organize your post content.
Example:
`<div class=”first-div”>YOUR CONTENT HERE</div><div class=”second-div”>YOUR CONTENT HERE</div>
So like the plugin say’s, create columns in your posts or pages.
Forum: Fixing WordPress
In reply to: WordPress comments doesnt work :(Looks like you have two comments sections, one is custom comments form and two is wp comments form. The first comments form has no action set, I don’t see javascript to handle the form data.
When I submitted the form you are getting error with your success page.
<script>(function(){var e = document.getElementById("coldform_verify");e.parentNode.removeChild(e);})();</script>
Error: e is null
In the code I do not see #coldform_verify
I believe this has to do with the coldform plugin.
Forum: Plugins
In reply to: [Plugin: LenSlider 2.0.9] – Pause on hoverCan you post a link so I can view in console?
Forum: Hacks
In reply to: Using shortcodes to display post meta data within a pageTry this out. I used this code to display image, and text from custom post meta box’s.
function display_custom_meta($atts, $content = NULL){ global $post; extract( shortcode_atts(array( 'param' => '', ),$atts)); $post_meta = get_post_meta($post->ID,'_meta_contet',TRUE); return '<div>'.$post_meta['post_meta_box_name'].'</div>'; } add_shortcode('display_custom_meta','display_custom_meta');
Change the meta name’s to what you need to , but this should work fine you have custom post meta on you page.