andywar65
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Espied] Display Projects on Homepage in Random OrderJetpack portfolio shortcode has attribute orderby that can have values date, title, author and rand (https://en.support.wordpress.com/portfolios/portfolio-shortcode/#attributes). I’m using theme twentysixteen, attribute title works, rand doesn’t. Why?
Forum: Plugins
In reply to: [Wordpress File Upload] email notification problemI have the same issue since june 2015 (previously it worked fine).
this is my shortcode (I changed the email!):
[wordpress_file_upload uploadpath=”uploads/contributi” uploadpatterns=”*.jpg, *.gif, *.png, *.pdf, *.zip” dublicatespolicy=”maintain both” uploadtitle=”Dai, non essere timido!” selectbutton=”Seleziona” uploadbutton=”Carica” successmessage=”File %filename% caricato con successo” warningmessage=”File %filename% caricato con problemi” errormessage=”File %filename% non caricato” waitmessage=”Il file %filename% si sta caricando” notify=”true” notifyrecipients=”[email protected]” notifysubject=”File Upload RP” notifymessage=”Hanno caricato qualcosa sulla ftp di rp tramite il file upload” userdata=”true” userdatalabel=”Breve descrizione file caricati”]
using 3.1.2 on wp 4.2.4 on firefox
I tryed deactivating Jetpack and Postmatic, but it still didn’t work
Forum: Fixing WordPress
In reply to: Site not loadingCan you reach your site via ftp?
download the style.css from wp-content/themes/sketch, remove the lines and upload it back again, and see if it works
Forum: Fixing WordPress
In reply to: Site not showing upHappy to hear from you. Just for the record: which version of WP were you running?
Update, update, update
Forum: Fixing WordPress
In reply to: Site not showing upIn my copy of the php file, line 403 looks like this:
$ret .= '</head><body>' . $html . '</body></html>';
It looks like a script was added to the line. Remove everything in between including
<script>
and</script>
Forum: Fixing WordPress
In reply to: Dashend / Posts Are Extremely Slow to Load?Bluehost is not renowned for it’s speed…
Forum: Fixing WordPress
In reply to: Site not showing upTry deactivating plugins and see if site shows up, then activate them back one by one and see if it’s one of them that causes the problem.
Forum: Everything else WordPress
In reply to: Directly calling WP php files rather than getting the pageDon’t know if I understood precisely your question, but page content is stored in mysql tables, so if you don’t load all WP functionalities you won’t be able to retrieve them.
Forum: Everything else WordPress
In reply to: A site is offering my free wordpress themeIn the readme file Yavor Spassov is cited as contributor, and not author.
Forum: Plugins
In reply to: [Wordpress File Upload] Any way to show uploaded files to the user?I added this filter to my theme’s functions.php that triggers when the content is displayed. It shows a list of the uploaded files with a link to download them and to modify the description (it would be great if you could write descriptions of the file on upload). Here is the code (note that uploaded file appears on the list when post/page is refreshed):
add_filter('the_content', 'wpfu_slip_footer'); function wpfu_slip_footer( $content ) { $haystack = '-' . $content; if (stripos( $haystack , '[wordpress_file_upload')){ global $post; $id = $post->ID; $args = array ( 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_parent' => $id, 'order_by' => 'date', 'order' => 'ASC' ); $loop = new WP_Query($args); if ($loop->have_posts()){ $content = $content . ' <h5>List of uploaded files:</h5><ol>'; while ($loop->have_posts()){ $loop->the_post(); $modify = get_edit_post_link(); $content = $content . ' <li><a href="' . wp_get_attachment_url( $loop->post->ID ) . '">' . get_the_title() . '</a> ' . get_the_content() . ' <a class="post-edit-link" href="' . $modify . '">Modifica</a></li>'; } $content = $content . ' </ol>'; wp_reset_postdata(); } } return $content; }
Forum: Fixing WordPress
In reply to: Unable to display imageI meant the author of the theme :).
Yes, you can change the template of the front page, and even the template of a single page, normally you use a child theme for these purposes:
https://codex.www.ads-software.com/Child_ThemesIn some cases you will need to hack a bit of code (the templates), in others you just change css rules (in example the website title).
Forum: Fixing WordPress
In reply to: How to remove text above headerDon’t paste anything in the header.php! You have to paste the code in the settings menu, read the installation procedure! :)))
Forum: Fixing WordPress
In reply to: How to remove text above headerAre you using this plugin:
https://www.ads-software.com/plugins/verify-google-webmaster-tools/Did you follow the installation process:
- Upload verify-google-webmaster-tools directory to the /wp-content/plugins/ directory or use plugin search – Admin > Plugins > Add new >
- Search for ‘Verify Google Webmaster Tools’.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Copy verification meta-tag from Google Webmaster Tools and paste it in the settings page (Admin > Settings > Verify Google Webmaster Tools).
- Click ‘Save’ and it’s done!
Deactivate plugin and see if the text disappears. If you did not follow the procedure, can you please tell where the code was pasted?
Forum: Fixing WordPress
In reply to: Unable to display imageGo to the hiero theme page:
https://www.ads-software.com/themes/hiero
Click the green “preview” button.
You will see that in home page images do not appear, and title is different than in other pages, so it’s the author’s choice!
You have to change the template of the front page to obtain the desired changes.Forum: Fixing WordPress
In reply to: Unable to display imageBut it’s better to refer to the hiero theme support forum:
https://www.ads-software.com/support/theme/hiero